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

   Improves logs by replacing timestamps to date instances to improve 
readability.
   
   `StreamsPartitionAssignor.java`
   
   ```
   Before - [2022-09-24 18:26:24,342] INFO stream-thread [] Requesting followup 
rebalance be scheduled by consumer10 for 1664024784341 ms to probe for 
caught-up replica tasks. 
(org.apache.kafka.streams.processor.internals.StreamsPartitionAssignor:960)
   
   After - [2022-09-24 18:28:24,248] INFO stream-thread [] Requesting followup 
rebalance be scheduled by consumer10 for 2022-09-24T13:08:24.247Z to probe for 
caught-up replica tasks. 
(org.apache.kafka.streams.processor.internals.StreamsPartitionAssignor:960)
   ```
   
   `StreamThread.java`
   
   ```
   Before - [2022-09-25 15:16:41,624] INFO stream-thread 
[stream-thread-test-87bf53a8-54f2-485f-a4b6-acdbec0a8b3d-StreamThread-1] 
Triggering the followup rebalance scheduled for 1664099201495 ms. 
(org.apache.kafka.streams.processor.internals.StreamThread:613)
   
   After - [2022-09-25 18:49:21,813] INFO stream-thread 
[stream-thread-test-87bf53a8-54f2-485f-a4b6-acdbec0a8b3d-StreamThread-1] 
Triggering the followup rebalance scheduled for 2022-09-25T13:19:21.808Z. 
(org.apache.kafka.streams.processor.internals.StreamThread:614)
   ```
   
   
   ### 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