Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7059

Offer new constructor on ProducerRecord

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • producer
    • None

    Description

      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:

      public ProducerRecord(String topic, K key, V value, Iterable<Header> headers)
      

       

      Attachments

        Issue Links

          Activity

            People

              matzew Matthias Wessendorf
              matzew Matthias Wessendorf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: