Chia-Ping Tsai created KAFKA-19351:
--------------------------------------

             Summary: 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


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.
```



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

Reply via email to