You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Lighting Sui (Jira)" <ji...@apache.org> on 2023/12/30 02:45:00 UTC

[jira] [Created] (KAFKA-16070) Extract the setReadOnly method into Headers

Lighting Sui created KAFKA-16070:
------------------------------------

             Summary: Extract the setReadOnly method into Headers
                 Key: KAFKA-16070
                 URL: https://issues.apache.org/jira/browse/KAFKA-16070
             Project: Kafka
          Issue Type: Improvement
          Components: clients
            Reporter: Lighting Sui


Abstract the setReadOnly function into the Headers Interface and provide a default implementation.

The setReadOnly function in Headers can be rewritten by RecordHeaders, so that the setReadOnly function in KafkaProducer can be removed and the code can be cleaned up.



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