Open leabdalla opened 10 years ago
Can you telnet to this address: localhost:9092?
I'm seeing the same error message and I can telnet from the machine that is running the web-console application to port 9092 of the kafka broker. See below (I masked the hostnames and IPs).
[warn] application - Could not connect to partition leader XXX. Error message: Failed to open a socket.
$ telnet XXX 9092 Trying Y.Y.Y.Y... Connected to XXX. Escape character is '^]'.
If you're failing to open a socket, you may have too many open.
What does
netstat -an | grep ESTA | wc -l
return?
If it's a big number, then this is the same issue as #30.
Seems to top out just below 4000 (due to your patch?): netstat -an | grep ESTA | wc -l 3992
My fork only fixes part of the problem, unfortunately - I managed to keep it from maxing out on 9092 and from maxing out the number of open files, but it still maxes out on 9090 and 9091 for reasons I have yet to nail down. Eventually you will still find yourself unable to open a socket.
I should also add that when I click on a topic, the consumer group information never populates.
Yeah, we ran into that too. Right now our accepted solution is just "eh, try refreshing it and waiting several seconds."
The web-console is working fine but it shows these errors each fetch interval:
I'm running zookeeper and kafka on the same machine. When I start kafka-server, the output is showing leader fine:
Is this a problem with web-console app, or my kafka install?