[
https://issues.apache.org/jira/browse/KAFKA-14013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Jacot updated KAFKA-14013:
--------------------------------
Priority: Blocker (was: Major)
> Limit the length of the `reason` field sent on the wire
> -------------------------------------------------------
>
> Key: KAFKA-14013
> URL: https://issues.apache.org/jira/browse/KAFKA-14013
> Project: Kafka
> Issue Type: Improvement
> Affects Versions: 3.2.0, 3.3.0
> Reporter: David Jacot
> Assignee: David Jacot
> Priority: Blocker
>
> KIP-800 added the `reason` field to the JoinGroupRequest and the
> LeaveGroupRequest as I mean to provide more information to the group
> coordinator. In https://issues.apache.org/jira/browse/KAFKA-13998, we
> discovered that the size of the field is limited to 32767 chars by our
> serialization mechanism. At the moment, the field either provided directly by
> the user or constructed internally is directly set regardless of its length.
> Given the purpose of this field, it seems acceptable to only sent the first
> 255 chars on the wire. That would prevent us from hitting that limit again
> while ensuring that the amount of bytes sent to the broker remain within an
> acceptable range.
> We should apply this to the JoinGroupRequest and to the LeaveGroupRequest.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)