etcd-io / zetcd

Serve the Apache Zookeeper API but back it with an etcd cluster
Apache License 2.0
1.09k stars 94 forks source link

Kafka Unable to connect to zookeeper server #115

Open billkuku opened 4 years ago

billkuku commented 4 years ago

Hello, i use zetcd with docker. i have configured zookeeper_id of kafka to '192.168.1.110' i have configured initial-cluster of etcd to 'etcd1=http://192.168.1.110:2380' then i start the zetcd, etcd and kafka, it works, but~~ as i set more etcd-servers in initial-cluster, something like:
'etcd1=http://192.168.1.110:2380, etcd2=http://192.168.1.111:2380,etcd3=http://192.168.1.112:2380' then kafka cannot connect to the etcd with: 'org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server '192.168.1.110:2181' with timeout of 10000 ms'