I suppose this was just my way of making sure we wait for at most maxDuration 
*and* consume n records. I think there are some instances where we wait for 
maxDuration, and if consumer returns sooner with fewer records, the logic will 
recalculate how much time is left, and then attempt again. having said that, 
looks like my logic would break if n records are spread over more than `num` 
intervals. 

[ Full content available at: https://github.com/apache/kafka/pull/5516 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to