alanlau28 commented on code in PR #22405:
URL: https://github.com/apache/kafka/pull/22405#discussion_r3647747694
##########
clients/src/main/java/org/apache/kafka/common/errors/UnsupportedProtocolFieldException.java:
##########
@@ -16,6 +16,15 @@
*/
package org.apache.kafka.common.errors;
+import org.apache.kafka.common.annotation.InterfaceAudience;
+
+/**
+ * Indicates that a request contains a field or field value that is not
supported by the API version
+ * negotiated with the broker, and that a higher version would be required to
use it. This is a more
+ * specific subtype of {@link UnsupportedVersionException} that lets callers
distinguish an unsupported
+ * field from a wholly unsupported API version.
+ */
[email protected]
Review Comment:
Ack, thanks! I moved UnsupportedProtocolFieldException to
org.apache.kafka.common.internals and dropped @InterfaceAudience.Public. so
kafkaPublicApiChecker passes without the annotation.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]