Kafka - Consumer Group

Kafka Commit Log Messaging Process

Kafka - Consumer Group


The consumer group is used for coordination between consumer



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



kafka-consumer-groups --bootstrap-server broker:9092 --list


  • 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:

Discover More
Log Consumer
Kafka - (Consumer) Offset

The offset is the position of a consumer in a topic keyrecord Zookeeperconsumer groupStream Processing ...
Log Consumer
Kafka - Consumer

A consumer. A sink connector is a consumer. kafka-console-consumer is a command line to read data from a Kafka topic and write it to standard output. The configs can be overridden by...
Kafka Commit Log Messaging Process
Kafka - Producer (Write / Input)

A Kafka producer is an object that consists of: a pool of buffer space that holds records that haven't...
Kafka Commit Log Messaging Process
Kafka - Stream Application

in Kafka. The stream API The Kafka cluster stores streams of records in categories called topics. configuration-parameters|Doc...

Share this page:
Follow us:
Task Runner