Table of Contents

Kafka - Consumer Group

About

The consumer group is used for coordination between consumer

Management

Configuration

The consumer group is given by the group.id configuration property of a consumer. A console will generate automatically one for you with the prefix console-consumer

List

All

kafka-consumer-groups --bootstrap-server broker:9092 --list
console-consumer-36650
console-consumer-92319
console-consumer-85351
console-consumer-69798

One

kafka-consumer-groups --bootstrap-server broker:9092 --describe --group console-consumer-36650
Note: This will only show information about consumers that use the Java consumer API (non-ZooKeeper-based consumers).

Consumer group 'console-consumer-36650' has no active members.

TOPIC                          PARTITION  CURRENT-OFFSET  LOG-END-OFFSET  LAG        CONSUMER-ID                                       HOST                           CLIENT-ID
test-sqlite-jdbc-accounts      0          2               8               6          -                                                 -                              -

where you can see: