Apache Kafka 4 · Producing and consuming
Send messages from the terminal
Type one message per line. Press Ctrl+C to stop.
bin/kafka-console-producer.sh --topic orders --bootstrap-server localhost:9092
Official Apache Kafka 4 documentation
More producing and consuming commands
All producing and consuming commands · Apache Kafka 4 cheatsheet