kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madhavan kumar <madhavan020...@gmail.com>
Subject kafka - tcp ports
Date Sun, 02 Aug 2015 13:58:59 GMT
hi all,
   i am monitoring the ports that are used by kafka server on my machine.
When i do,

sudo netstat -ntp | grep 9092

it shows,

tcp        0      0 192.168.122.1:9092      192.168.122.6:59158
ESTABLISHED 27413/java
tcp        0      0 192.168.122.1:9092      192.168.122.1:58338
ESTABLISHED 27413/java
*tcp        1      0 192.168.122.1:57821 <http://192.168.122.1:57821>
192.168.122.1:9092 <http://192.168.122.1:9092>      CLOSE_WAIT  27413/java *


The last entry in CLOSE_WAIT state surprises me because

sudo lsof -i tcp:57821
​  shows​


COMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
java    27413 root   42u  IPv4 3266648      0t0  TCP
sk-box:57821->sk-box:9092 (CLOSE_WAIT)

indicates, that the port 57821 is owned by kafka process
​ (pid - 27413)​
. Does kafka use extra ports other than listening port, 9092 to talk to
itself?

thanks,
saravana

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message