AndrewJSchofield opened a new pull request, #17652:
URL: https://github.com/apache/kafka/pull/17652

   While testing a combination of consumer and share groups, I noticed a few 
instances of log messages from the group metadata manager which were untidy. 
Given that it takes seconds to fix them, here's a PR.
   
   ```
   [2024-10-31 13:12:21,183] INFO [GroupCoordinator id=1 
topic=__consumer_offsets partition=40] [GroupId console-consumer] Static Member 
BXDs--2-T3iqwmYQIcJ-uQ with instance id console temporarily left the consumer 
group. (org.apache.kafka.coordinator.group.GroupMetadataManager)
   ```
   Capitalisation of Static Member should be Static member to match other 
records in the log, such as the following one.
   
   ```
   [2024-10-31 13:14:20,616] INFO [GroupCoordinator id=1 
topic=__consumer_offsets partition=40] [GroupId console-consumer] Static member 
aSyX1dJmQcWimg8CS0ZRNw with instance id console cannot join the group because 
the instance id is is owned by member xCB-bmz9RnCDH3hQX_1U0w. 
(org.apache.kafka.coordinator.group.GroupMetadataManager)
   ```
   "is is"
   
   ```
   [2024-10-31 13:31:05,236] INFO [GroupCoordinator id=1 
topic=__consumer_offsets partition=40] [GroupId console-consumer] Member 
j1VGU6MqTOSUYAlDFhCYJw fenced from the group because the member session 
expired.. (org.apache.kafka.coordinator.group.GroupMetadataManager)
   ```
   Double "." because the reason "the member session expired" contained a "." 
and was inserted into a sentence that already ends in ".".
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to