[ https://issues.apache.org/jira/browse/KAFKA-8910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guozhang Wang resolved KAFKA-8910. ---------------------------------- Fix Version/s: 2.6.0 Resolution: Fixed > Incorrect javadoc at KafkaProducer.InterceptorCallback#onCompletion > ------------------------------------------------------------------- > > Key: KAFKA-8910 > URL: https://issues.apache.org/jira/browse/KAFKA-8910 > Project: Kafka > Issue Type: Bug > Reporter: Sergey Ushakov > Assignee: Dongjin Lee > Priority: Major > Fix For: 2.6.0 > > > h1. Problem > Javadoc forĀ org.apache.kafka.clients.producer.Callback states: > {noformat} > * @param metadata The metadata for the record that was sent (i.e. the > partition and offset). Null if an error > * occurred. {noformat} > In fact, metadata is never null since KAFKA-6180. See > org.apache.kafka.clients.producer.KafkaProducer.InterceptorCallback#onCompletion > for details. -- This message was sent by Atlassian Jira (v8.3.4#803005)