title: Should we use max.poll.records or max.poll.interval.ms to handle records that take longer to process in kafka consumer?
body: <p>I'm trying to understand what is better option to handle records that take longer to process in kafka consumer? I ran few tests to understand this and observed that we can control this with by modifying either <code>max.poll.records</code> or <code>max.poll.interval.ms</code>.</p>
  
  <p>Now my question is, what's the better option to choose? Please suggest.</p>