[ 
https://issues.apache.org/jira/browse/KAFKA-19658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai resolved KAFKA-19658.
------------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

> Tweak org.apache.kafka.clients.consumer.OffsetAndMetadata
> ---------------------------------------------------------
>
>                 Key: KAFKA-19658
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19658
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Lan Ding
>            Priority: Minor
>             Fix For: 4.2.0
>
>
> 1. Using `leaderEpoch=" + leaderEpoch` feels a bit odd, since not every value 
> of `leaderEpoch` is invalid
> 2. `leaderEpoch=null` should be treated as same as `leaderEpoch=-1`, but 
> `OffsetAndMetadata#equals` does not respect it.
> 3. `OffsetAndMetadata#metadata` currently has neither integration nor unit 
> tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to