1. Confluent Documentation: "kafka-consumer-groups". The documentation explicitly states that the --describe option can be used to "list the topic partitions, current-offset, log-end-offset, and lag for a consumer group."
Source: Confluent Platform Documentation, CLI Tools, kafka-consumer-groups, "Describe a consumer group" section.
2. Apache Kafka Documentation: "Kafka Operations - Consumer Groups". The official Apache Kafka documentation details the usage of kafka-consumer-groups.sh. The "Describing a Consumer Group" section shows an example output with columns for CURRENT-OFFSET, LOG-END-OFFSET, and LAG.
Source: Apache Kafka 3.6 Documentation, Section 4.4 "Consumer Groups".
3. Gwen Shapira, Todd Palino, Rajini Sivaram (2021): Kafka: The Definitive Guide, 2nd Edition. Chapter 11, "Administering Kafka," describes the kafka-consumer-groups.sh script as the primary tool for inspecting consumer group state, including offsets and lag.
Source: O'Reilly Media, ISBN: 978-1098108035, Chapter 11, "Consumer Groups" section.