- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Option [bootstrap-server] is not valid with [zookeeper]
- Labels:
-
Apache Kafka
Created ‎03-22-2019 10:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
using the below command i created the producer session
./kafka-console-producer.sh --broker-list mn.xxxxxxxx.com:6667 --topic dm_sample1
<entered some text >
open one more session and typed the below consumer command
./kafka-console-consumer.sh --bootstrap-server mn.xxxxxx.com:9092 --zookeeper localhost:2181 --topic dm_sample1 --from-beginning
and
./kafka-console-consumer.sh --bootstrap-server mn.xxxx.com:6667--zookeeper localhost:2181 --topic dm_sample1 --from-beginning
after trying with the both commands , still Im getting the same error
error MSG :
Option [bootstrap-server] is not valid with [zookeeper].
version : kafka 1.0.1 , ZK v3.4.6 and hdp v3
Created ‎04-25-2019 12:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Naveenraj Devadoss please use your command without bootstarp-server
./kafka-console-consumer.sh --zookeeper localhost:2181 --topic dm_sample1 --from-beginning
if still wouldn't work,please use zookeeper server host instead of localhost.
