MINOR: Remove outdated comment about metadata request
This is an outdated comment about the metadata request from the old implementation. The name of the RPC was changed from GroupMetadata to FindCoordinator, but the comment was not updated.
Reviewers: Jason Gustafson
@@ -859,12 +859,11 @@ public abstract class AbstractCoordinator implements Closeable {
}
/**
- * Discover the current coordinator for the group. Sends a GroupMetadata request to
- * one of the brokers. The returned future should be polled to get the result of the request.
+ * Discover the current coordinator for the group. Sends a FindCoordinator request to
+ * the given broker node. The returned future should be polled to get the result of the request.
* @return A request future which indicates the completion of the metadata request
*/
private RequestFuture<Void> sendFindCoordinatorRequest(Node node) {
- // initiate the group metadata request
log.debug("Sending FindCoordinator request to broker {}", node);
FindCoordinatorRequestData data = new FindCoordinatorRequestData()
.setKeyType(CoordinatorType.GROUP.id())
