1.参数 参数描述–bootstrap-server连接的Kafka Broker主机名称和端口号–topic操作的topic名称 2.实例 发送消息 bin/kafka-console-producer.sh \ --bootstrap-server node1:9092 \ --topic first