Interface MetadataStoreLifecycle

  • All Known Implementing Classes:
    ZKMetadataStore

    public interface MetadataStoreLifecycle
    Extension of the MetadataStore interface that supports lifecycle operation methods which might not be supported by all implementations.
    • 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.