发送消息:
kafka-console-producer.bat --broker-list localhost:9092 --topic Hello-Kafka
接收消息:
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic Hello-Kafka --from-beginning
发送消息:
kafka-console-producer.bat --broker-list localhost:9092 --topic Hello-Kafka
接收消息:
kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic Hello-Kafka --from-beginning