kafka常见命令Kafka基本概念
kafka常见命令1启动Kafka bin kafka server start.shconfig server.properties2停止Kafka bin kafka server stop.sh3创建Topic bin kafka topics.sh create zookeeper localhost2181replication factor1partitions1topic jiangzh topic4查看已经创建的Topic信息bin kafka topics.sh list zookeeper localhost21815发送消息bin kafka console producer.sh broker list192.168.220.1289092topic jiangzh topic6接收消息bin kafka console consumer.sh bootstrap server192.168.220.1289092topic jiangzh t
用户评论