I think `CountDownLatch` would be preferable so that we don't call `sleep` in any place in the code.
Feel free to declare more than one if you have more than one waiting conditions. [ Full content available at: https://github.com/apache/kafka/pull/5516 ] This message was relayed via gitbox.apache.org for [email protected]
