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)