Interface PulsarAdmin

All Superinterfaces:
AutoCloseable, Closeable

@Public @Stable public interface PulsarAdmin extends Closeable
  • Method Details

    • builder

      static PulsarAdminBuilder builder()
      Get a new builder instance that can used to configure and build a PulsarAdmin instance.
      Returns:
      the PulsarAdminBuilder
    • clusters

      Clusters clusters()
      Returns:
      the clusters management object
    • brokers

      Brokers brokers()
      Returns:
      the brokers management object
    • tenants

      Tenants tenants()
      Returns:
      the tenants management object
    • resourcegroups

      ResourceGroups resourcegroups()
      Returns:
      the resourcegroups managements object
    • properties

      @Deprecated Properties properties()
      Deprecated.
      since 2.0. See tenants()
    • namespaces

      Namespaces namespaces()
      Returns:
      the namespaces management object
    • topics

      Topics topics()
      Returns:
      the topics management object
    • topicPolicies

      TopicPolicies topicPolicies()
      Get the topic policies management object.
      Returns:
      the topic policies management object
    • topicPolicies

      TopicPolicies topicPolicies(boolean isGlobal)
      Get the local/global topic policies management object.
      Returns:
      the topic policies management object
    • bookies

      Bookies bookies()
      Returns:
      the bookies management object
    • nonPersistentTopics

      @Deprecated NonPersistentTopics nonPersistentTopics()
      Deprecated.
      Since 2.0. See topics()
      Returns:
      the persistentTopics management object
    • resourceQuotas

      ResourceQuotas resourceQuotas()
      Returns:
      the resource quota management object
    • lookups

      Lookup lookups()
      Returns:
      does a looks up for the broker serving the topic
    • functions

      Functions functions()
      Returns:
      the functions management object
    • source

      Deprecated.
      in favor of sources()
      Returns:
      the sources management object
    • sources

      Sources sources()
      Returns:
      the sources management object
    • sink

      Deprecated.
      in favor of sinks()
      Returns:
      the sinks management object
    • sinks

      Sinks sinks()
      Returns:
      the sinks management object
    • worker

      Worker worker()
      Returns:
      the Worker stats
    • brokerStats

      BrokerStats brokerStats()
      Returns:
      the broker statics
    • proxyStats

      ProxyStats proxyStats()
      Returns:
      the proxy statics
    • getServiceUrl

      String getServiceUrl()
      Returns:
      the service HTTP URL that is being used
    • schemas

      Schemas schemas()
      Returns:
      the schemas
    • packages

      Packages packages()
      Returns:
      the packages management object
    • transactions

      Transactions transactions()
      Returns:
      the transactions management object
    • close

      void close()
      Close the PulsarAdminClient and release all the resources.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable