Chia-Ping Tsai created KAFKA-17930:
--------------------------------------

             Summary: Consider adding record-level acks
                 Key: KAFKA-17930
                 URL: https://issues.apache.org/jira/browse/KAFKA-17930
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


We encourage users to share a single producer instance across threads. This 
approach works well for use cases where many threads append records 
infrequently, as it avoids creating many 'idle' producers. These threads often 
need to send records to different topics, which is supported by the current 
producer. However, another important configuration—acks—is currently set at the 
producer level.

The proposed change is simple, as ProduceRequest already has an acks field. All 
we need is a KIP to add a new field to the ProduceRecord constructor. The new 
field will be null by default, and we will use the producer-level acks setting 
unless otherwise specified.



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

Reply via email to