title: Kafka zookeper session not established after creating consumer
body: <p>This is my first time using Kafka. I followed <a href="https://dzone.com/articles/running-apache-kafka-on-windows-os" rel="nofollow noreferrer">this</a> tutorial.
  After starting the Zookeper, I started the kafka server. Next a topic was created and then started the consumer for the topic. This is when the Zookeper logs says</p>
  
  <p>Exception causing close of session 0x0: null</p>
  
  <pre><code>2019-01-04 14:11:58,160 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1040] - Closed socket connection for client /127.0.0.1:50480 (no session established for client)
  2019-01-04 14:11:59,073 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@215] - Accepted socket connection from /127.0.0.1:50481
  2019-01-04 14:11:59,074 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@383] - Exception causing close of session 0x0: null
  2019-01-04 14:11:59,078 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1040] - Closed socket connection for client /127.0.0.1:50481 (no session established for client)
  2019-01-04 14:11:59,994 [myid:] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@215] - Accepted socket connection from /127.0.0.1:50482
  2019-01-04 14:11:59,995 [myid:] - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@383] - Exception causing close of session 0x0: null
  </code></pre>
  
  <p>I am using Windows 10. </p>
  
  <p>kafka_2.11-2.1.0</p>
  
  <p>zookeeper-3.4.12</p>