Interface ReplicationFactorChangeManager
public interface ReplicationFactorChangeManager
A service to manage
ReplicationFactorChange.-
Method Summary
Modifier and TypeMethodDescriptioncancelReplicationFactorChange(String clusterId, Set<String> topicNames) Stops the in-flight replication factor change for the giventopicNames.changeReplicationFactor(String clusterId, Map<String, Integer> replicationFactors) Submits a replication factor change for the topics inreplicationFactors, mapping topic name to the replication factor requested for it.listReplicationFactorChanges(String clusterId)
-
Method Details
-
changeReplicationFactor
CompletableFuture<Void> changeReplicationFactor(String clusterId, Map<String, Integer> replicationFactors) Submits a replication factor change for the topics inreplicationFactors, mapping topic name to the replication factor requested for it. The future completes once the request is accepted, not once the change is applied. -
listReplicationFactorChanges
-
cancelReplicationFactorChange
Stops the in-flight replication factor change for the giventopicNames.
-