Skip to content

Instantly share code, notes, and snippets.

@darekmydlarz
Last active November 7, 2018 09:17
Show Gist options
  • Save darekmydlarz/ae5638e8bccca44218cd5a6659f9fc5b to your computer and use it in GitHub Desktop.
Save darekmydlarz/ae5638e8bccca44218cd5a6659f9fc5b to your computer and use it in GitHub Desktop.
Kafka Tools

How to read Kafka Consumer Group Offset

  • Install Kafka Tools in a specific version - e.g. Scala 2.12, Version 1.1.0 - link
  • List consumer groups, Kafka address: localhost:9092:
bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --list
  • List topic offsets for group console-consumer-96905:
bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --group=console-consumer-96905 --describe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment