cmccabe commented on a change in pull request #10084:
URL: https://github.com/apache/kafka/pull/10084#discussion_r574006888



##########
File path: core/src/main/scala/kafka/server/KafkaApis.scala
##########
@@ -3390,6 +3390,11 @@ class KafkaApis(val requestChannel: RequestChannel,
       new 
DescribeProducersResponse(response.setThrottleTimeMs(requestThrottleMs)))
   }
 
+  def handleUnregisterBrokerRequest(request: RequestChannel.Request): Unit = {
+    throw new UnsupportedVersionException("The broker unregistration API is 
not available when using " +
+      "Apache ZooKeeper mode.")

Review comment:
       This method can't be called in built-in quorum mode since the API is 
forwardable and we will always have a forwarding manager




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to