Hello,

I am trying to run a simple kafka cluster on an OpenNebula cloud. I am
using the 0.9.0. Kafka binary. Each time I try to connect to the broker
(from localhost or from a different machine), I get this error:

[kafka-producer-network-thread | producer-1] DEBUG
o.apache.kafka.clients.NetworkClient - Sending metadata request
ClientRequest(expectResponse=true, callback=null,
request=RequestSend(header={api_key=3,api_version=0,correlation_id=7,client_id=producer-1},
body={topics=[test2]}), isInitiatedByNetworkClient,
createdTimeMs=1461688260916, sendTimeMs=0) to node -1
[kafka-producer-network-thread | producer-1] WARN
o.apache.kafka.clients.NetworkClient - Error while fetching metadata with
correlation id 7 : {test2=LEADER_NOT_AVAILABLE}

my zookeeper configuration file is unchanged from default (only the data
path) and my server configuration is different in these fields:

port = 9090
host.name = <IP address without port>

The zookeeper and the server are both running on the same nachine. I
unlocked firewall ports 2181 and 9090 both. The producer and consumer are
configured correctly, as they worked on a different system (my home
laptop). Am I missing some important configuration?

Thanks in advance,

Oliver Pacut

Reply via email to