squah-confluent opened a new pull request, #23871: URL: https://github.com/apache/kafka/pull/23871
Add SmallIntegerSet, an immutable BitSet-backed set of small integers, and use it to copy the assigned and assignable partitions into the group spec when the assignor is offloaded. GroupSpecImpl now holds the assigned partitions of each topic instead of the inverted target assignment, since assignors never read the owner of a partition. This makes buildGroupSpecWithOffload 34-58% faster in TargetAssignmentBuilderBenchmark. Co-Authored-By: Claude Opus 5.5 <[email protected]> -- 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]
