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

   The steps of the uniform2 assignor and the data classes they work on
   share one package, so only their names tell them apart. This patch
   moves the steps to the `steps` subpackage. Java has no sub-package
   visibility, so what the steps use from the parent package becomes
   public.
   
   Changes:
   - Move `KeepStickyExtraPartitions` and `AssignRemainingExtraPartitions`,
     and their tests, to `uniform2.steps`. The two classes, their
     constructors and `run` become public.
   - Make `IndexedGroup` public, with `memberCount`, `topicCount`,
     `cohortCount`, `cohortOf`, `cohortsOf`, `membersOf` and
     `subscriberCount`.
   - Make `CurrentAssignment` public, with `countOwned`.
   - Make `Quotas` public, with `minQuota`, `extraPartitions`,
     `membersWithExtraPartition`, `extraPartitionCount`, `assignmentSize`,
     `minAssignmentSize` and `giveExtraPartition`.
   - Make the test fixture `QuotasFixture` public, with the constructor,
     the fields and the methods that the tests of the steps use.
   
   


-- 
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