Package org.apache.pulsar.client.admin
Interface PulsarAdmin
- All Superinterfaces:
AutoCloseable
,Closeable
-
Method Summary
Modifier and TypeMethodDescriptionbookies()
brokers()
static PulsarAdminBuilder
builder()
Get a new builder instance that can used to configure and build aPulsarAdmin
instance.void
close()
Close the PulsarAdminClient and release all the resources.clusters()
lookups()
Deprecated.Since 2.0.packages()
Deprecated.since 2.0.schemas()
sink()
Deprecated.in favor ofsinks()
sinks()
source()
Deprecated.in favor ofsources()
sources()
tenants()
Get the topic policies management object.topicPolicies
(boolean isGlobal) Get the local/global topic policies management object.topics()
worker()
-
Method Details
-
builder
Get a new builder instance that can used to configure and build aPulsarAdmin
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.since 2.0. Seetenants()
-
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
Get the local/global topic policies management object.- Returns:
- the topic policies management object
-
bookies
Bookies bookies()- Returns:
- the bookies management object
-
nonPersistentTopics
Deprecated.Since 2.0. Seetopics()
- 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 ofsources()
- Returns:
- the sources management object
-
sources
Sources sources()- Returns:
- the sources management object
-
sink
Deprecated.in favor ofsinks()
- 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 interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-