1. 程式人生 > >ELK 環境搭建1-zookeeper+kafka

ELK 環境搭建1-zookeeper+kafka

新版kafka組消費命令:

/application/elk/kafka/bin/kafka-console-consumer.sh --bootstrap-server 192.168.30.41:9092,192.168.30.42:9092,192.168.30.43:9092 --topic test --consumer.config /application/elk/kafka/config/consumer.properties --offset 0 --partition 0

新版kafka獲取消費組列表:

/application/elk/kafka/bin/kafka-consumer-groups.sh  --new-consumer --bootstrap-server 192.168.30.41:9092,192.168.30.42:9092,192.168.30.43:9092  --list