If you want to stick with the bundled binaries, you need to use the simple consumer shell:
bin/kafka-simple-consumer-shell.sh --broker-list mybroker:9092 --topic
mytopic --partition mypartition --offset myoffset
I recommend kt; it’s much faster, more lightweight and has better options.