kafka and zookeeper
1.zookeeper
bin/zkServer.sh status conf/zoo_sample.cfg
/usr/local/bigdata/kafka/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 3 --topic test1
zookeeper is not a recognized option解决方案
1.bin/kafka-console-consumer.sh --bootstrap-server 127.0.0.1:9092 --topic test1 --from-beginning
2.bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test1
    Nothing to losing
                    
                
                
            
        
浙公网安备 33010602011771号