Skip to content
Exercise · Kafka: topics, partitions, offsets · lesson 6 of 7

Exercise: consumer lag

When consumers cannot keep up with producers, unread records pile up in the partitions. Their number is called the group's lag. It is the first thing people check when a service slows down: kafka-consumer-groups.sh --describe prints each partition's lag in the LAG column.