Browse Source

KAFKA-6405: Fix incorrect comment in MetadataUpdater (#4361)

* Fix incorrect comment in MetadataUpdater

* Fix comment for handleCompletedMetadataResponse
pull/4548/head
Guangxian 7 years ago committed by Guozhang Wang
parent
commit
8a2d00fc44
  1. 4
      clients/src/main/java/org/apache/kafka/clients/MetadataUpdater.java

4
clients/src/main/java/org/apache/kafka/clients/MetadataUpdater.java

@ -54,7 +54,7 @@ interface MetadataUpdater { @@ -54,7 +54,7 @@ interface MetadataUpdater {
long maybeUpdate(long now);
/**
* If `request` is a metadata request, handles it and return `true`. Otherwise, returns `false`.
* Handle disconnections for metadata requests.
*
* 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.
@ -70,7 +70,7 @@ interface MetadataUpdater { @@ -70,7 +70,7 @@ interface MetadataUpdater {
void handleAuthenticationFailure(AuthenticationException exception);
/**
* If `request` is a metadata request, handles it and returns `true`. Otherwise, returns `false`.
* Handle responses for metadata requests.
*
* This provides a mechanism for the `MetadataUpdater` implementation to use the NetworkClient instance for its own
* requests with special handling for completed receives of such requests.

Loading…
Cancel
Save