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