I'm fine with those semantics, maybe we can make a Jira.

Thinking about it more, though, wouldn't it make more sense to:
* reject negative numbers
* make 0 just signal and return immediately (after checking the state once)
* if I want to wait "forever", I can use `ofYears(1)` or 
`ofMillis(Long.MAX_VALUE)` or some other intuitively "long enough to be 
forever" value instead of a magic value.

Regardless, I agree the current behavior is a little weird, and I'd be in favor 
of a Jira/KIP to revise it.

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

Reply via email to