`int offset = this.randOffset.nextInt(nodes.size());` will fail if 
`nodes.isEmpty()` is true, but it's a more cryptic exception. So, we simply get 
a more useful error now.

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

Reply via email to