title: Spring Boot Kafka application not receiving messages
body: <p>We're using Spring boot 1.5.4.RELEASE and i can see the following jars in our gradle project: spring-kafka-1.1.6, kafka-clients-0.10.1.1</p>
  
  <p>We have a simple receiver class like below:</p>
  
  <p>`</p>
  
  <pre><code>   @KafkaListener(topics = "${mytopic.consume}")
      public void receive(byte[] event) {
          &lt;our code here&gt;...
      }
  
  //$mytopic.consume is being picked up from properties file
  </code></pre>
  
  <p>`</p>
  
  <p>The code works fine on most days and i am able to receive events correctly and process them, then suddenly it stops to receive messages. No error, no warnings. I can see the messages are there on the topic but our listener just doesn't seem to consume them.
  I tried restarting application, restarting eclipse, change between run and debug mode, change the name of group in kafka properties - but nothing works. We look at the application after few hours, and there you go - it starts to work again and we receive all the messages which were stuck. Sometimes the problem can last more than a day also. My suspicion is its NOT an eclipse issue, but probably the way enterprise Kafka is setup or some bug in Kafka(lesser possibility since i couldn't find such an issue on google). I did notice this issue even when microservice was deployed on IBM bluemix.</p>
  
  <p>Any pointers will be greatly appreciated.</p>
  
  <p>Here are some of our properties(which might be of interest) that we have configured in our application:
      `</p>
  
  <pre><code>acks=all
       retries=0
       batch.size=&lt;a number greater than 10k&gt;
       linger.ms=1
       buffer.memory=&lt;a number in 10s of MBs - our incoming message is just few KBs&gt;
       ENABLE_AUTO_COMMIT_CONFIG=true
       AUTO_COMMIT_INTERVAL_MS_CONFIG=1ms
       SESSION_TIMEOUT_MS_CONFIG=30ms
       zookeeper.sync.time=200ms
       zookeeper.session.timeout=400ms
  </code></pre>
  
  <p>`</p>