An interactive shell for getting topic-partition offsets. Option Description ------ ----------- --bootstrap-server in the form HOST1:PORT1,HOST2:PORT2. --command-config Property file containing configs to be passed to Admin Client. --exclude-internal-topics By default, internal topics are included. If specified, internal topics are excluded. --help Print usage information. --partitions Comma separated list of partition ids to get the offsets for. If not present, all partitions of the authorized topics are queried. Cannot be used if --topic-partitions is present. --time / -1 or timestamp of the offsets before that. latest / -2 or earliest / -3 or max- [Note: No offset is returned, if the timestamp / -4 or earliest-local / timestamp greater than recently -5 or latest-tiered / -6 or earliest- committed record timestamp is pending-upload> given.] (default: latest) --topic The topic to get the offsets for. It also accepts a regular expression. If not present, all authorized topics are queried. Cannot be used if --topic-partitions is present. --topic-partitions offsets for, with the format of '([^:,]*)(?::(?:([0-9]*)|(?:([0-9]*) -([0-9]*))))?'. The first group is an optional regex for the topic name, if omitted, it matches any topic name. The section after ':' describes a 'partition' pattern, which can be: a number, a range in the format of 'NUMBER-NUMBER' (lower inclusive, upper exclusive), an inclusive lower bound in the format of 'NUMBER-', an exclusive upper bound in the format of '-NUMBER' or may be omitted to accept all partitions. --version Display Kafka version.