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

   When there are many topic-partitions being consumed by the application, the 
`rejoinNeededOrPending` method can perform poorly, due to the deep equality 
comparison of `metadataSnapshot` with `assignmentSnapshot`.
   
   Since these snapshots can only diverge in `maybeUpdateSubscriptionMetadata`, 
we can use a `boolean` to cache whether they are already known to be "dirty", 
and therefore need to be compared.
   
   This should shortcut the deep comparison in the common-case that the 
snapshot hasn't been updated.
   
   Fixes KAFKA-15178
   
   ### 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