Kafka - Consumer Group

> Data Integration Tool (ETL/ELT) > Kafka (Event Hub)

1 - About

The consumer group is used for coordination between consumer

Advertising

3 - Management

3.1 - 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

3.2 - List

3.2.1 - All

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

3.2.2 - One

  • How to describe one group:
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:

Advertising