mirror of https://github.com/apache/kafka.git
* In this PR, we have added GC side impl to call the delete state share coord RPC using the persister. * We will be using the existing `GroupCoordinatorService.deleteGroups`. The logic will be modified as follows: * After sanitization, we will call a new `runtime.scheduleWriteOperation` (not read for consistency) with callback `GroupCoordinatorShard.sharePartitions`. This will return a Map of share partitions of the groups which are of SHARE type. We need to pass all groups as WE CANNOT DETERMINE the type of the group in the service class. * Then using the map we will create requests which could be passed to the persister and make the appropriate calls. * Once this future completes, we will continue with the existing flow of group deletion. * If the group under inspection is not share group - the read callback should return an empty map. * Tests have been added wherever applicable. Reviewers: David Jacot <djacot@confluent.io>, Andrew Schofield <aschofield@confluent.io> |
||
---|---|---|
.. | ||
.scalafmt.conf | ||
checkstyle.xml | ||
import-control-coordinator-common.xml | ||
import-control-core.xml | ||
import-control-examples.xml | ||
import-control-group-coordinator.xml | ||
import-control-jmh-benchmarks.xml | ||
import-control-metadata.xml | ||
import-control-server-common.xml | ||
import-control-server.xml | ||
import-control-share-coordinator.xml | ||
import-control-storage.xml | ||
import-control-test-common-internal-api.xml | ||
import-control-test-common-runtime.xml | ||
import-control-test-common-util.xml | ||
import-control-transaction-coordinator.xml | ||
import-control.xml | ||
java.header | ||
suppressions.xml |