Package org.apache.pulsar.metadata.api
Interface MetadataStoreLifecycle
-
- All Known Implementing Classes:
ZKMetadataStore
public interface MetadataStoreLifecycleExtension of theMetadataStoreinterface that supports lifecycle operation methods which might not be supported by all implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>initializeCluster()Initialize the metadata store cluster if needed.
-
-
-
Method Detail
-
initializeCluster
java.util.concurrent.CompletableFuture<java.lang.Void> initializeCluster()
Initialize the metadata store cluster if needed. For example, if the backend metadata store is a zookeeper cluster and the pulsar cluster is configured to access the zookeeper cluster in the chroot mode, then this method could be used to initialize the root node during pulsar cluster metadata setup.- Returns:
- a future to track the async request.
-
-