Nag
Nag

Reputation: 2057

Kafka - command to fetch the current offset committed by this consumer

I am going through the documentation and didn't find a way apart from using "committed" method to fetch the current committed offset per partition of this current consumer , consumer group.

Is there a simple way , command to find out the same committed offset of a consumer ?

Upvotes: 0

Views: 1818

Answers (1)

Michael Heil
Michael Heil

Reputation: 18525

You can use the Kafka tool as described in the documentation checking consumer position

> bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group my-group

Upvotes: 1

Related Questions