For reading all partitions in topic:
~bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic myTopic --from-beginning
- How can I consume particular partition of the topic? (for instance with partition key 13)
- And how produce message in partition with particular partition key? Is it possible?