You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ray Chiang (JIRA)" <ji...@apache.org> on 2018/07/19 19:55:00 UTC
[jira] [Updated] (KAFKA-7059) Offer new constructor on
ProducerRecord
[ 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)