Zookeeper status - telnet connections: 4
<p>Could someone help me to understand is it required to have 4 connections for zookeeper.</p>

<p>My requirement is simple - I want to run a apache kafka with spark in my local machine. As per the kafka documentation I had started the zookeeper under the kafka bin and wanted to confirm if my zookeeper is up.</p>

<p>So, tried "telnet localhost 2181" from the command prompt.</p>

<p>And got the below ouput:</p>

<pre><code>Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
stats
Zookeeper version: 3.4.5--1, built on 06/10/2013 17:26 GMT
Clients:
 /127.0.0.1:34231[1](queued=0,recved=436,sent=436)
 /127.0.0.1:34230[1](queued=0,recved=436,sent=436)
 /127.0.0.1:37719[0](queued=0,recved=1,sent=0)
 /127.0.0.1:34232[1](queued=0,recved=436,sent=436)

Latency min/avg/max: 0/0/42
Received: 2127
Sent: 2136
Connections: 4
Outstanding: 0
Zxid: 0x143
Mode: standalone
Node count: 51
Connection closed by foreign host.
</code></pre>

<p>I would like to know as why the connection is saying 4 with 4 clients. what does that actually mean?</p>

<p>Thank you in advance to help me understand if 4 clients are required.</p>