Catching A Moving Target

One partition is producing 2,750 records per second, sustained. The consumer group owning it has a measured maximum drain rate of 3,400 records per second. Right now the reported lag is 4,200,000 records.

Assuming both rates hold, how long until lag reaches zero?

A

It never reaches zero, because the consumer cannot drain faster than the partition produces

B

About 1 hour 48 minutes: 4,200,0003400−2750=6461.5 s\frac{4{,}200{,}000}{3400 - 2750} = 6461.5\ \text{s}

C

About 20.6 minutes: 4,200,0003400=1235.3 s\frac{4{,}200{,}000}{3400} = 1235.3\ \text{s}

D

About 25.5 minutes: 4,200,0002750=1527.3 s\frac{4{,}200{,}000}{2750} = 1527.3\ \text{s}