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

   This PR refactors AbstractStickyAssignor without changing any logic to make 
it easier to add rack-awareness. The class currently consists of a lot of 
collections that are passed around various methods, with some methods updating 
some collections. Addition of rack-awareness made this class with very large 
methods even more complex and harder to read. The new code moves the two 
assignment methods into their own classes so that the state can be maintained 
as instance fields rather than local variables.
   
   ### 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