Ok, I put in a guard.

I also refactored the interface to purely evict the head of the buffer while a 
condition holds, which cleans up the usage quite a bit.

Let me know what you think.

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

Reply via email to