jack2012aa commented on code in PR #20536:
URL: https://github.com/apache/kafka/pull/20536#discussion_r2347033722


##########
clients/src/main/java/org/apache/kafka/common/protocol/Protocol.java:
##########
@@ -49,7 +51,23 @@ private static void schemaToBnfHtml(Schema schema, 
StringBuilder b, int indentSi
                     subTypes.put(field.def.name, 
type.arrayElementType().get());
                 }
             } else if (type instanceof TaggedFields) {
-                b.append("_tagged_fields ");
+                Map<Integer, Field> taggedFields = new 
TreeMap<>(((TaggedFields) type).fields());
+                taggedFields.forEach((tag, taggedField) -> {
+                    if (taggedField.type.isArray()) {

Review Comment:
   Sure. I added under the description.



-- 
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]

Reply via email to