[ https://issues.apache.org/jira/browse/KAFKA-7059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
M. Manna reassigned KAFKA-7059: ------------------------------- Assignee: Matthias Wessendorf > 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 Wessendorf > Assignee: Matthias Wessendorf > 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 (v8.3.4#803005)