Interface ReplicationFactorChangeManager


public interface ReplicationFactorChangeManager
A service to manage ReplicationFactorChange.
  • Method Details

    • changeReplicationFactor

      CompletableFuture<Void> changeReplicationFactor(String clusterId, Map<String,Integer> replicationFactors)
      Submits a replication factor change for the topics in replicationFactors, 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

      CompletableFuture<List<ReplicationFactorChange>> listReplicationFactorChanges(String clusterId)
      Returns every Change currently tracked for the Kafka Cluster with the given clusterId.
    • cancelReplicationFactorChange

      CompletableFuture<Void> cancelReplicationFactorChange(String clusterId, Set<String> topicNames)
      Stops the in-flight replication factor change for the given topicNames.