You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/16 14:50:00 UTC

[jira] [Commented] (KAFKA-8910) Incorrect javadoc at KafkaProducer.InterceptorCallback#onCompletion

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

ASF GitHub Bot commented on KAFKA-8910:
---------------------------------------

dongjinleekr commented on pull request #7337: KAFKA-8910: Incorrect javadoc at KafkaProducer.InterceptorCallback#onCompletion
URL: https://github.com/apache/kafka/pull/7337
 
 
   Fix the inconsistency between `KafkaProducer.InterceptorCallback#onCompletion` and `Callback#onCompletion`.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)