[ https://issues.apache.org/jira/browse/KAFKA-16070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
johndoe reassigned KAFKA-16070: ------------------------------- Assignee: johndoe > 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 > Assignee: johndoe > Priority: Major > > 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)