Core concepts
Consumer Groups
Nisshi answers the Kafka consumer group APIs, so Kafka clients use consumer groups with Nisshi as they do with Kafka, within the limits listed in the repository's consumer groups page.
Because brokers are stateless, every broker is the coordinator of every consumer group. A client can find its coordinator on any broker, and committed offsets are kept in the storage engine.
Example
Consume a topic as a member of test-consumer-group:
kafka-console-consumer \
--bootstrap-server localhost:9092 \
--group test-consumer-group \
--topic test \
--from-beginning
Describe the group:
kafka-consumer-groups \
--bootstrap-server localhost:9092 \
--group test-consumer-group \
--describe
The cat consume subcommand reads a single partition of a topic and doesn't join a group, so it doesn't commit offsets.
More details
For how groups behave and the current limits, see consumer groups in the Nisshi repository.