consumer lag

How many records a consumer group has not yet committed on a partition: the log end offset minus the committed offset.

In more detail

Lag near zero means the group keeps up; growing lag means consumers are too slow or stopped. rpk group describe shows lag per partition and in total. Adding consumers helps only up to the partition count.

Example

1,204,331 records behind at 4,000 a second is about five minutes.

Related terms

Taught in

References

Certification courses