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

guangxian.liao commented on KAFKA-6405:
---------------------------------------

[~junrao] [~ijuma] [~gwenshap]
Can anyone review this small patch and assign it to me please?


> Fix incorrect comment in MetadataUpdater
> ----------------------------------------
>
>                 Key: KAFKA-6405
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6405
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>    Affects Versions: 1.0.0
>            Reporter: guangxian.liao
>            Priority: Trivial
>
> The comment for 'handleDisconnection' says it can return true or false, but 
> the return type is void.
> {code:java}
> /**
>      * If `request` is a metadata request, handles it and return `true`. 
> Otherwise, returns `false`.
>      *
>      * This provides a mechanism for the `MetadataUpdater` implementation to 
> use the NetworkClient instance for its own
>      * requests with special handling for disconnections of such requests.
>      * @param destination
>      */
>     void handleDisconnection(String destination);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to