Apache Kafka 4 · Producing and consuming

Read messages from the start

Read a topic from the earliest offset.

bin/kafka-console-consumer.sh --topic orders --from-beginning --bootstrap-server localhost:9092

Official Apache Kafka 4 documentation

More producing and consuming commands

All producing and consuming commands · Apache Kafka 4 cheatsheet

Was this page helpful?