Another way to write this:
```scala
cache.latestEpoch.forall(batch.partitionLeaderEpoch > _)
```

Also, can we drop the parethesis from the definition of `latestEpoch` in 
`LeaderEpochCache`?

[ 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