Excellent, many thanks!

With “auto.offset.reset” as “none”, I get OffsetOutOfRangeException, which is 
what I want.

To find out how many messages the client I had missed, I called 
consumer.seekToBeginning and consumer.position (without calling poll). Is this 
a correct way to find out the first available offset?

Best regards, 

Giidox


Reply via email to