Hello

following doc @
https://cwiki.apache.org/confluence/display/KAFKA/System+Tools#SystemTools-SimpleConsumerShell

i tried to print messages using the command

./kafka-run-class.sh kafka.tools.SimpleConsumerShell  —-max-messages 1
--no-wait-at-logend —-print-offsets --partition 17 --offset 76446478
--topic aTopicIAmInterestedIn --broker-list [list of brokers]

it just keeps printing messages, it does not honour the max-messages 1,
also there is no offset printed even though print-offsets option is
provided.

the kafka server is on 0.8.2.2 and we have 4 brokers.

can someone please help as to what is that i am missing.

thanks
anishek

Reply via email to