Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed consumer-property, renamed consumer.config

...

  • --broker-list vm1:9092 - Comma-separated list of Kafka servers
  • --topic-partitions topic1:1,topic2*:0-1,topic3:1-,topic4:-4 - Comma-separated list of topic-partition patterns to query offsets for. A pattern consists of a topic name or regex, and a partition filter, which can be a partition id, a range (inclusive lower, exclusive upper), an inclusive lower bound or an exclusive upper bound. The topic part can be omitted to only specify the pattern filter. The partition part can be omitted to fetch all partitions of the specified topic(s). (if omitted, query all topics)
  • --topic topic* - Topic name or regex to specify topics to query for offsets (if omitted, query all topics - if --topic-partitions is specified, ignored)
  • --partitions 1,2 - Comma-separated list of topic partitions to query (if omitted, query all partitions of matched topics - if --topic-partitions is specified, ignored)
  • --exclude-internal-topics - Exclude Kafka-internal topics, like __consumer_offsets (include internal topics by default)
  • --consumer-property - Pass an arbitrary consumer property to the consumer that actually queries the broker for offsets--consumer.command-config - Consumer config properties file to be used by the consumer. --consumer-property takes precedence over this.

For backward compatibility, the GetOffsetShell tool does not need to change anything as:

...