Nikita-Shupletsov opened a new pull request, #20665:
URL: https://github.com/apache/kafka/pull/20665

   MINOR: Don't fail if nextOffsetsAndMetadataToBeConsumed is not available.
   
   Before we added caching for consumer next offsets we'd called 
`mainConsumer.position` and always expected something back. When we added the 
caching, we kept the check that we always have nextOffset, but as the logic 
changed to fetching the offsets from poll, we may not have anything for topics 
that have no messages.
   This PR accounts for that.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to