I think we can simplify this a little bit. If `partitionsWithEpoch` is empty, then we can just skip the send? Then we don't need the changes to `shouldSendLeaderEpochRequest`.
[ Full content available at: https://github.com/apache/kafka/pull/5320 ] This message was relayed via gitbox.apache.org for [email protected]
