Re: Kafka | Unable to publish data to broker - ClosedChannelException

2016-03-04 Thread Banias H
It sounds like an issue with the topic. You can try describe the page_vists topic like: ./kafka-topics.sh --zookeeper localhost:2181 --describe and make sure it has a leader. If not, I would suggest creating a new topic and try if you can send messages to it. On Fri, Mar 4, 2016 at 3:34 AM,

Re: Kafka | Unable to publish data to broker - ClosedChannelException

2016-03-04 Thread Shashi Vishwakarma
Hi I changed command to ./kafka-console-producer.sh --broker-list sandbox.hortonworks.com:6667 --topic page_visits Exception changed but no success. [2016-03-04 09:26:12,742] WARN Error while fetching metadata [{TopicMetadata for topic page_visits -> No partition metadata for topic

Kafka | Unable to publish data to broker - ClosedChannelException

2016-03-03 Thread Shashi Vishwakarma
Hi I am trying to run simple kafka producer consumer example on HDP but facing below exception. [2016-03-03 18:26:38,683] WARN Fetching topic metadata with correlation id 0 for topics [Set(page_visits)] from broker [BrokerEndPoint(0,sandbox.hortonworks.com,9092)] failed