title: What is the source of the property max.poll.records?
body: <p>I am using Kafka with Spark streaming. I didn't override <code>max.poll.records</code> that has as a default value <code>500</code>. However when running my Spark job, I find in the logs :</p>
  
  <p><code>max.poll.records = 2147483647</code></p>
  
  <p>All my jobs display the same value even if they have different batch interval.</p>
  
  <p>So what is the source of this value?</p>
  
  <ul>
  <li><p>Kafka server version : 0.10.0</p></li>
  <li><p>Kafka spark integration for application version : "org.apache.spark"
  %% "spark-streaming-kafka-0-10" % 2.1.1</p></li>
  <li><p>Spark application version : 2.2.0</p></li>
  <li><p>Spark server version : 2.1.1</p></li>
  </ul>
  
  <p>I have topics of 10 repartitions.</p>
  
  <p>Thank you.</p>