Since `PartitionData.currentLeaderEpoch()` is not exposed to kafka user, would 
it be faster and simpler to just return `int` instead of `Optional<Integer>` as 
the leaderEpoch?

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

Reply via email to