Recently I installed kafka on an Amazon AWS EC2 instance and tried to post messages to it using my windows machine using public IP address of EC2 instance. But it failed with following error.
23:06:01.622 [kafka-producer-network-thread | producer-1] DEBUG 
org.apache.kafka.clients.NetworkClient - [Producer clientId=producer-1] 
Sending metadata request (type=MetadataRequest, topics=kafka_core)
 to node 54.165.214.180:9092 (id: -1 rack: null)
23:06:01.956 [kafka-producer-network-thread | producer-1] WARN 
org.apache.kafka.clients.NetworkClient - [Producer clientId=producer-1]
 Error while fetching metadata with correlation id 70 : 
{kafka_core=LEADER_NOT_AVAILABLE}
advertised.listeners=PLAINTEXT://54.165.214.180:9092
advertised.listeners=PLAINTEXT://ec2-54-165-214-180.compute-1.amazonaws.com:9092
Hi Jasvant! I want to chat with you about your experience with upgrad? Can you spare a few minutes?
ReplyDeleteYes I can chat with you. Please send an email at jas_dit@yahoo.com
Delete