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

Offer new constructor on ProducerRecord

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: producer
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                matzew Matthias Weßendorf
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: