bob-barrett opened a new pull request #8784:
URL: https://github.com/apache/kafka/pull/8784


   …nsors
   
   Sensor objects are stored in the Kafka metrics registry and keyed by name. 
If a new sensor is created with the same name as an existing one, the existing 
one is returned rather than a new object being created. The partition load time 
sensors for the transaction and group coordinators used the same name, so data 
recorded to either was stored in the same object. This meant that the metrics 
values for both metrics were identical and consisted of the combined data. This 
patch changes the names to be distinct so that the data will be stored in 
separate Sensor objects.
   
   *More detailed description of your change,
   if necessary. The PR title and PR message become
   the squashed commit message, so use a separate
   comment to ping reviewers.*
   
   *Summary of testing strategy (including rationale)
   for the feature or bug fix. Unit and/or integration
   tests are expected for any behaviour change and
   system tests should be considered for larger changes.*
   
   ### 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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to