showuon opened a new pull request, #14192: URL: https://github.com/apache/kafka/pull/14192
Currently, when consumer startup, there will be a log message said: ``` [2023-08-11 15:47:17,713] INFO [Consumer clientId=console-consumer, groupId=console-consumer-28605] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator) ``` It confused users and make them think there's something wrong in the consumer application. Since `MemberIdRequiredException` is an expected transient exception, we could improve the log into a more informative way without exception words. After change: ``` [2023-08-11 15:42:11,821] INFO [Consumer clientId=console-consumer, groupId=console-consumer-96226] Request joining group due to: The group member needs to have a valid member id before actually entering a consumer group. ``` ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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