This line throws `NoSuchElementException` if controller epoch does not exist. 
It seems better to do `getControllerEpoch.getOrElse(throw new 
IllegalStateException("..."))`.

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

Reply via email to