title: fetch-min-size & max-poll-records sping kafka configurations does not work as expected
body: <p>I am working on an Spring boot application with spring kafka which listens to a single topic of kafka and then segregates the records for respective categories, creates a json file out of it and uploads it to AWS S3.</p>
  
  <p>I am receiving huge data volumes in Kafka topics and I need to make sure the json files are chunked appropriately huge to limit the number of json uploaded to S3.</p>
  
  <p>Below is my <code>application.yml</code> configuration for kafka consumer.</p>
  
  <pre><code>spring:
    kafka:
      consumer:
        group-id: newton
        auto-offset-reset: earliest
        fetch-max-wait: 
          seconds: 1 
        fetch-min-size: 500000000
        max-poll-records: 50000000
        value-deserializer: com.forwarding.application.consumer.model.deserializer.MeasureDeserializer
  </code></pre>
  
  <p>I have created a listener for reading the topic continuously.</p>
  
  <p>Even with the above configuration, I am receiving records in console as follows:</p>
  
  <pre><code>   2019-03-27T15:25:56.02+0530 [APP/PROC/WEB/0] OUT 2019-03-27 09:55:56.024  INFO 8 --- [ntainer#0-0-C-1] c.s.n.f.a.s.impl.ConsumerServiceImpl     : Time taken(ms) 56. No Of measures: 60
     2019-03-27T15:25:56.21+0530 [APP/PROC/WEB/2] OUT 2019-03-27 09:55:56.210  INFO 8 --- [ntainer#0-0-C-1] c.s.n.f.a.s.impl.ConsumerServiceImpl     : Time taken(ms) 80. No Of measures: 96
     2019-03-27T15:25:56.56+0530 [APP/PROC/WEB/0] OUT 2019-03-27 09:55:56.560  INFO 8 --- [ntainer#0-0-C-1] c.s.n.f.a.s.impl.ConsumerServiceImpl     : Time taken(ms) 76. No Of measures: 39
     2019-03-27T15:25:56.73+0530 [APP/PROC/WEB/2] OUT 2019-03-27 09:55:56.732  INFO 8 --- [ntainer#0-0-C-1] c.s.n.f.a.s.impl.ConsumerServiceImpl     : Time taken(ms) 77. No Of measures: 66
  </code></pre>
  
  <p>Can anyone please let me know what can be configured to get the received records as per the configuration in <code>application.yml</code>?</p>