This line currently uses the deprecated constructor `PartitionData(long offset, long timestamp, String metadata)` which is probably not correct. Can you replace `offsetAndMetadata.leaderEpoch().orElse(RecordBatch.NO_PARTITION_LEADER_EPOCH)` with `offsetAndMetadata.leaderEpoch()`?
[ Full content available at: https://github.com/apache/kafka/pull/5564 ] This message was relayed via gitbox.apache.org for [email protected]
