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

Incorrect javadoc at KafkaProducer.InterceptorCallback#onCompletion

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Problem

      Javadoc forĀ org.apache.kafka.clients.producer.Callback states:

      * @param metadata The metadata for the record that was sent (i.e. the partition and offset). Null if an error
      *        occurred. 

      In fact, metadata is never null since KAFKA-6180. See org.apache.kafka.clients.producer.KafkaProducer.InterceptorCallback#onCompletion for details.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dongjin Dongjin Lee
                Reporter:
                sushakov Sergey Ushakov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: