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

   Add the number of members in the log to improve readability.
   
   Example logs -
   
   `StreamsPartitionAssignor.java`
   
   ```xml
   Before - [2023-02-08 23:22:21,419] INFO stream-thread [] Assigned tasks 
[0_0, 0_1, 0_2, 0_3] including stateful [] to clients as: 
   00000000-0000-0000-0000-000000000001=[activeTasks: ([0_0, 0_2, 0_3]) 
standbyTasks: ([])]
   00000000-0000-0000-0000-000000000002=[activeTasks: ([0_1]) standbyTasks: 
([])]. 
   
   After - [2023-02-07 23:05:29,723] INFO stream-thread [] Assigned 4 tasks 
[0_0, 0_1, 0_2, 0_3] including 0 stateful [] to 2 clients as: 
   00000000-0000-0000-0000-000000000001=[3 activeTasks: ([0_0, 0_2, 0_3]) 0 
standbyTasks: ([])]
   00000000-0000-0000-0000-000000000002=[1 activeTasks: ([0_1]) 0 standbyTasks: 
([])]. 
   ```
   
   ### 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

Reply via email to