I have 3 brokers and I keep getting this message: [kafka-processor-9092-0] INFO kafka.network.Processor - Closing socket connection to /172.23.44.4. or [kafka-processor-9092-1] INFO kafka.network.Processor - Closing socket connection to /172.23.44.4.
Do anyone know what that means???
(By the way, the IP isn't something in my network...)
Thank Joel, I try to put the trace but I saw nothing... maybe I did it wrong...
anyway, I tried another way... I started the console consumer and producer on a new topic to my remote brokers...
The topic was create successfully but when i produce a message, nothing happen...
- The message is not consume - I saw nothing on the brokers logs (for every broker) - the .log file of the topic in my log.dirs is empty on every brokers - I don't even have a logs file in my ./logs of my console producer and consumer...
FYI, I found out what was wrong and I think it's a wierd behaviour that you guys may want to fix...
First of all, my setup is the following I have 3 brokers named : kaf1.kafka.mydns -> 22.214.171.124 kaf2.kafka.mydns -> 126.96.36.199 kaf3.kafka.mydns -> 188.8.131.52
Those are the name in the DNS.
In my /etc/hostname and when I was doing the commande 'hostname' the output was kaf1 (kaf2 and kaf3 for the other brokers) In my /etc/hosts, i had for every broker the following : 127.0.0.1 localhost 184.108.40.206 kaf1 kaf1.kafka.mydns 220.127.116.11 kaf2 kaf2.kafka.mydns 18.104.22.168 kaf3 kaf3.kafka.mydns
In zookeeper, the command "get /brokers/ids/1" has returning '..."host":"kaf1"...' and I found out in the log that my producer and consumer has using kaf1 (kaf2 and kaf3) to connect to the brokers but does aren't map in my DNS or in the hosts files so it has not able to connect...
After that I change the hostname (by editing the /etc/hostname and using 'hostname <newHostname>') and then I restart everything to be sure and I even removed my data and my zknode
*And the wierd behaviour is that after I restarted everything the "get /brokers/ids/1" kept returning '..."host":"kaf1"...' *
To correct the situation, I changed my /etc/hosts on every brokers to the following : 127.0.0.1 localhost 22.214.171.124 kaf1.kafka.mydns 126.96.36.199 kaf2.kafka.mydns 188.8.131.52 kaf3.kafka.mydns
(Removing the kaf1 (kaf2 and kaf3) and just keeping the fqdn)
after restarting everything, it now works and the command "get /brokers/ids/1" now return '..."host":"kaf1.kafka.mydns"...'
From what I understand, I don't thing that the broker should take his hostname from the /etc/hosts file, no?
Maybe this is cause by my OS (I'm not an expert of Debian) but I don't think so... and I don't think that this is the behaviour that you guys want to have too...
Can someone reproduce the bug? Is that behaviour known?
Jun On Wed, Jun 11, 2014 at 12:12 PM, François Langelier <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext