Interface ExtensionsBrokerManager
public interface ExtensionsBrokerManager
-
Method Summary
Modifier and TypeMethodDescriptionremoveBroker(String clusterId, Integer brokerId, boolean shouldShutdown) Removes a kafkaBrokerwith the givenbrokerIdfrom the kafkaClusterwith givenclusterIdwith option to shut down brokers specified withshouldShutdownthat defaults to true.removeBrokers(String clusterId, List<Integer> brokerIds, boolean shouldShutdown) Remove multiple kafkaBrokersspecified with the given list ofbrokerIdsfrom the kafkaClusterwith givenclusterIdwith option to shut down brokers specified withshouldShutdownthat defaults to true.unregisterBroker(String clusterId, Integer brokerId) Unregister the given broker from the cluster.
-
Method Details
-
removeBroker
CompletableFuture<BrokerRemoval> removeBroker(String clusterId, Integer brokerId, boolean shouldShutdown) Removes a kafkaBrokerwith the givenbrokerIdfrom the kafkaClusterwith givenclusterIdwith option to shut down brokers specified withshouldShutdownthat defaults to true. -
removeBrokers
CompletableFuture<List<BrokerRemoval>> removeBrokers(String clusterId, List<Integer> brokerIds, boolean shouldShutdown) Remove multiple kafkaBrokersspecified with the given list ofbrokerIdsfrom the kafkaClusterwith givenclusterIdwith option to shut down brokers specified withshouldShutdownthat defaults to true. -
unregisterBroker
Unregister the given broker from the cluster. This operation does not have any effect on partition assignments. It is supported only on Kafka clusters which use Raft to store metadata.
-