Not sure why you would need 7 zookeepers, 3 or 5 is more common but since you 
have setup 7 then zookeeper will not be active unless a “quorum” of the 
zookeepers are up and running. That means you need to have 4 or more zookeepers 
up and running first, and then start your kafka brokers.

Also, you only included one server.properties file. You will need to give each 
of the 7 brokers each a unique broker.id and host.name. In fact host.name is 
deprecated and it looks like you might be incorrectly setting them all to 
“0.0.0.0” when you should instead be setting listeners to 
PLAINTEXT://0.0.0.0:9092 <plaintext://0.0.0.0:9092> to get the broker to listen 
to all interfaces. 

From https://kafka.apache.org/documentation/ 
<https://kafka.apache.org/documentation/>
host.name       DEPRECATED: only used when `listeners` is not set. Use 
`listeners` instead. hostname of broker. If this is set, it will only bind to 
this address. If this is not set, it will bind to all interfaces
listeners       Listener List - Comma-separated list of URIs we will listen on 
and the listener names. If the listener name is not a security protocol, 
listener.security.protocol.map must also be set. Specify hostname as 0.0.0.0 to 
bind to all interfaces. Leave hostname empty to bind to default interface. 
Examples of legal listener lists: PLAINTEXT://myhost:9092,SSL://:9091 
CLIENT://0.0.0.0:9092,REPLICATION://localhost:
Lastly you have set 
advertised.listeners=PLAINTEXT://kafka-1.site-s2.mon.com:9092 
<plaintext://kafka-1.site-s2.mon.com:9092> which would override the value of 
listeners and host.name and force the broker to only listen on port 9092 on the 
IP address for kafka-1.site-s2.mon.com <http://kafka-1.site-s2.mon.com/>. Is 
this what you really want to do?

advertised.listeners    Listeners to publish to ZooKeeper for clients to use, 
if different than the listeners above. In IaaS environments, this may need to 
be different from the interface to which the broker binds. If this is not set, 
the value for `listeners` will be used.

If you set all this up properly and still get an error then please include the 
errors from both zookeeper and kafka brokers to help in debugging further

-hans

-- 
/**
 * Hans Jespersen, Principal Systems Engineer, Confluent Inc.
 * h...@confluent.io (650)924-2670
 */




> On May 29, 2017, at 1:33 AM, Bennett, Conrad 
> <conrad.benn...@verizonwireless.com.INVALID> wrote:
> 
> Hello – anyone had a chance to take a look at this for me please? My cluster 
> still isn’t up successfully. Thanks in advance 
> Conrad Bennett Jr.
> From: Conrad Bennett <conrad.benn...@verizonwireless.com 
> <mailto:conrad.benn...@verizonwireless.com>>
> Date: Friday, May 26, 2017 at 12:48 PM
> To: SenthilKumar K <senthilec...@gmail.com <mailto:senthilec...@gmail.com>>
> Subject: Re: [E] Re: Kafka Configuration Question
> 
> Hi SenthilKumar,
> 
> Did you get a chance to review the configuration? I am still unsuccessful 
> with getting the cluster up. 
> Conrad Bennett Jr.
> From: Conrad Bennett <conrad.benn...@verizonwireless.com 
> <mailto:conrad.benn...@verizonwireless.com>>
> Date: Thursday, May 25, 2017 at 10:16 AM
> To: SenthilKumar K <senthilec...@gmail.com <mailto:senthilec...@gmail.com>>
> Subject: Re: [E] Re: Kafka Configuration Question
> 
> Here is the attachment. 
> Conrad Bennett Jr.
> 
> From: SenthilKumar K <senthilec...@gmail.com <mailto:senthilec...@gmail.com>>
> Date: Thursday, May 25, 2017 at 3:09 AM
> To: Conrad Bennett <conrad.benn...@verizonwireless.com 
> <mailto:conrad.benn...@verizonwireless.com>>
> Subject: [E] Re: Kafka Configuration Question
> 
> Hi , Seems to be you missed attachment ..
> 
> On Thu, May 25, 2017 at 10:55 AM, Bennett, Conrad 
> <conrad.benn...@verizonwireless.com.invalid 
> <mailto:conrad.benn...@verizonwireless.com.invalid>> wrote:
>> Hello,
>> 
>> I’m hoping someone could provide me with some assistance please. I am in the 
>> process of attempting to standing up a Kafka cluster and I have 7 nodes all 
>> of which has kafka and zookeeper installed. I have attached my 
>> server.properties file to verify whether or not I have anything 
>> misconfigured but each time I try to start the kafka service it fails with 
>> the error timed out connecting to zookeeper but the zookeeper process is up 
>> and running. Also during my research I read in order to achieve better 
>> performance separate drives for kafka data should be configure, but in the 
>> configuration file I didn’t understand where exactly that should be 
>> configure. Any assistance would be greatly appreciated. Thanks in advance 
>> 
>> kafka: { version: 0.10.1.1 }
>> 
>> zkper: { version: 3.4.9 }
>> 
>> Conrad Bennett Jr.
> 
> <server.properties.zip>

Reply via email to