You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias Weßendorf (JIRA)" <ji...@apache.org> on 2018/06/14 14:50:00 UTC

[jira] [Created] (KAFKA-7059) Offer new constructor on ProducerRecord

Matthias Weßendorf created KAFKA-7059:
-----------------------------------------

             Summary: Offer new constructor on ProducerRecord 
                 Key: KAFKA-7059
                 URL: https://issues.apache.org/jira/browse/KAFKA-7059
             Project: Kafka
          Issue Type: Improvement
            Reporter: Matthias Weßendorf
             Fix For: 2.0.1


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)