etolbakov commented on code in PR #12388: URL: https://github.com/apache/kafka/pull/12388#discussion_r916622548
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java: ########## @@ -1050,10 +1051,18 @@ public synchronized void requestRejoin(final String shortReason) { public synchronized void requestRejoin(final String shortReason, final String fullReason) { log.info("Request joining group due to: {}", fullReason); - this.rejoinReason = shortReason; + this.rejoinReason = truncateIfRequired(shortReason); Review Comment: agree, fixed! That actually conveys the while change's intention much nicer that the `reason` is truncated for the sending. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org