We discussed offline with @hachikuji and decided that it would be better if 
`LeaderEpochCache#latestEpoch()` would return an `Option[Int]`, rather than a 
sentinel value of -1 for an undefined epoch. 
I didn't completely remove the `UNDEFINED_EPOCH` notion throughout the code but 
nevertheless changed the method signature

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

Reply via email to