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

Chia-Ping Tsai updated KAFKA-19351:
-----------------------------------
    Description: 
see the docs: 
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java#L1146

{code:java}
     * @param offsets A map of offsets by partition with associate metadata. 
This map will be copied internally, so it
     *                is safe to mutate the map after returning.
{code}


  was:
see the docs: 
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java#L1146

```
     * @param offsets A map of offsets by partition with associate metadata. 
This map will be copied internally, so it
     *                is safe to mutate the map after returning.
```


> AsyncConsumer#commitAsync should copy the input offsets
> -------------------------------------------------------
>
>                 Key: KAFKA-19351
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19351
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>
> see the docs: 
> https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java#L1146
> {code:java}
>      * @param offsets A map of offsets by partition with associate metadata. 
> This map will be copied internally, so it
>      *                is safe to mutate the map after returning.
> {code}



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

Reply via email to