[ 
https://issues.apache.org/jira/browse/KAFKA-7059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ray Chiang updated KAFKA-7059:
------------------------------
    Component/s: producer 

> Offer new constructor on ProducerRecord 
> ----------------------------------------
>
>                 Key: KAFKA-7059
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7059
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>            Reporter: Matthias Weßendorf
>            Priority: Trivial
>
> creating a ProducerRecord, with custom headers requires usage of a 
> constructor with a slightly longer arguments list.
>  
> It would be handy or more convenient if there was a ctor, like:
> {code}
> public ProducerRecord(String topic, K key, V value, Iterable<Header> headers)
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to