We should have a `isEmpty` method instead of doing the count check (in this case, it doesn't matter, but there are many cases where counting is more expensive than checking the presence of one item).
[ Full content available at: https://github.com/apache/kafka/pull/5727 ] This message was relayed via gitbox.apache.org for [email protected]
