ahuang98 commented on code in PR #21079:
URL: https://github.com/apache/kafka/pull/21079#discussion_r2666229125
##########
clients/src/main/java/org/apache/kafka/common/protocol/types/Type.java:
##########
@@ -549,7 +549,8 @@ public String validate(Object item) {
@Override
public String documentation() {
return "Represents a sequence of characters. First the length N +
1 is given as an UNSIGNED_VARINT " +
- ". Then N bytes follow which are the UTF-8 encoding of the
character sequence.";
+ ". Then N bytes follow which are the UTF-8 encoding of the
character sequence. " +
+ "The size of the string may not be more than 32767 bytes.";
Review Comment:
should we add this to the `STRING` documented type too?
--
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]