You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Sergey Ushakov (Jira)" <ji...@apache.org> on 2019/09/16 08:44:00 UTC
[jira] [Updated] (KAFKA-8910) Incorrect javadoc at
org.apache.kafka.clients.producer.Callback
[ https://issues.apache.org/jira/browse/KAFKA-8910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Ushakov updated KAFKA-8910:
----------------------------------
Description:
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.
was:
h1. Problem
Javadoc for org.apache.kafka.clients.producer.Callback says:
{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 after KAFKA-6180. See org.apache.kafka.clients.producer.KafkaProducer.InterceptorCallback#onCompletion for details.
> Incorrect javadoc at org.apache.kafka.clients.producer.Callback
> ---------------------------------------------------------------
>
> Key: KAFKA-8910
> URL: https://issues.apache.org/jira/browse/KAFKA-8910
> Project: Kafka
> Issue Type: Bug
> Reporter: Sergey Ushakov
> Priority: Major
>
> 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.2#803003)