[ 
https://issues.apache.org/jira/browse/KAFKA-8910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930619#comment-16930619
 ] 

Lee Dongjin edited comment on KAFKA-8910 at 9/16/19 2:48 PM:
-------------------------------------------------------------

I reviewed the problem, and it seems like the title and description here are a 
little bit inaccurate; the documentation is wrong on 
KafkaProducer.InterceptorCallback, not 
org.apache.kafka.clients.producer.Callback. (i.e., reversed.)


was (Author: dongjin.lee.kr):
I reviewed the problem, and it seems like the title and description here are a 
little bit unaccurate; the documentation is wrong on 
KafkaProducer.InterceptorCallback, not 
org.apache.kafka.clients.producer.Callback. (i.e., reversed.)

> 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: Lee Dongjin
>            Priority: Major
>
> h1. Problem
> Javadoc forĀ 
> org.apache.kafka.clients.producer.KafkaProducer.InterceptorCallback#onCompletion
>  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.Callback for details.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to