title: getting "org.apache.kafka.common.network.InvalidReceiveException: Invalid receive (size = 1195725856 larger than 104857600)"
body: <p>I have installed zookeeper and kafka,
  first step :
  running zookeeper by the following commands :</p>
  
  <pre><code>bin/zkServer.sh start
  bin/zkCli.sh
  </code></pre>
  
  <p>second step :
  running kafka server</p>
  
  <pre><code>bin/kafka-server-start.sh config/server.properties
  </code></pre>
  
  <p>kafka should run at localhost:9092</p>
  
  <p>but I am getting the following error : </p>
  
  <pre><code>WARN Unexpected error from /0:0:0:0:0:0:0:1; closing connection (org.apache.kafka.common.network.Selector)
  org.apache.kafka.common.network.InvalidReceiveException: Invalid receive (size = 1195725856 larger than 104857600)
  </code></pre>
  
  <p>I am following the following link :
  <a href="https://scotch.io/tutorials/build-a-distributed-streaming-system-with-apache-kafka-and-python" rel="noreferrer">Link1</a>
  <a href="https://www.tutorialspoint.com/apache_kafka/apache_kafka_installation_steps.htm" rel="noreferrer">Link2</a></p>
  
  <p>I am  new to kafka ,please help me to set it up.</p>