| Package | Description |
|---|---|
| org.apache.pulsar.client.admin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.client.admin.internal |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarAdminException.ConflictException
Conflict Exception.
|
static class |
PulsarAdminException.ConnectException
Connect Exception.
|
static class |
PulsarAdminException.GettingAuthenticationDataException
Getting Authentication Data Exception.
|
static class |
PulsarAdminException.HttpErrorException
Http Error Exception.
|
static class |
PulsarAdminException.NotAllowedException
Not Allowed Exception.
|
static class |
PulsarAdminException.NotAuthorizedException
Not Authorized Exception.
|
static class |
PulsarAdminException.NotFoundException
Not Found Exception.
|
static class |
PulsarAdminException.PreconditionFailedException
Precondition Failed Exception.
|
static class |
PulsarAdminException.ServerSideErrorException
Server Side Error Exception.
|
static class |
PulsarAdminException.TimeoutException
Timeout Exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Brokers.backlogQuotaCheck()
Manually trigger backlogQuotaCheck.
|
void |
Namespaces.clearNamespaceBacklog(String namespace)
Clear backlog for all topics on a namespace.
|
void |
Namespaces.clearNamespaceBacklogForSubscription(String namespace,
String subscription)
Clear backlog for a given subscription on all topics on a namespace.
|
void |
Namespaces.clearNamespaceBundleBacklog(String namespace,
String bundle)
Clear backlog for all topics on a namespace bundle.
|
void |
Namespaces.clearNamespaceBundleBacklogForSubscription(String namespace,
String bundle,
String subscription)
Clear backlog for a given subscription on all topics on a namespace bundle.
|
void |
Namespaces.clearOffloadDeleteLag(String namespace)
Clear the offload deletion lag for a namespace.
|
LongRunningProcessStatus |
Topics.compactionStatus(String topic)
Check the status of an ongoing compaction for a topic.
|
void |
Clusters.createCluster(String cluster,
org.apache.pulsar.common.policies.data.ClusterData clusterData)
Create a new cluster.
|
void |
Clusters.createFailureDomain(String cluster,
String domainName,
org.apache.pulsar.common.policies.data.FailureDomain domain)
Create a domain into cluster.
|
void |
Functions.createFunction(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String fileName)
Create a new function.
|
void |
Functions.createFunctionWithUrl(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String pkgUrl)
Create a new function with package url.
|
void |
Topics.createMissedPartitions(String topic)
Create missed partitions for partitioned topic.
|
void |
Namespaces.createNamespace(String namespace)
Create a new namespace.
|
void |
Namespaces.createNamespace(String namespace,
org.apache.pulsar.common.policies.data.BundlesData bundlesData)
Create a new namespace.
|
void |
Namespaces.createNamespace(String namespace,
int numBundles)
Create a new namespace.
|
void |
Namespaces.createNamespace(String namespace,
org.apache.pulsar.common.policies.data.Policies policies)
Create a new namespace.
|
void |
Namespaces.createNamespace(String namespace,
Set<String> clusters)
Create a new namespace.
|
void |
Clusters.createNamespaceIsolationPolicy(String cluster,
String policyName,
org.apache.pulsar.common.policies.data.NamespaceIsolationData namespaceIsolationData)
Create a namespace isolation policy for a cluster.
|
void |
Topics.createNonPartitionedTopic(String topic)
Create a non-partitioned topic.
|
void |
Topics.createPartitionedTopic(String topic,
int numPartitions)
Create a partitioned topic.
|
void |
NonPersistentTopics.createPartitionedTopic(String topic,
int numPartitions)
Deprecated.
Create a partitioned topic.
|
void |
Properties.createProperty(String property,
org.apache.pulsar.common.policies.data.TenantInfo config)
Deprecated.
Create a new property.
|
void |
Schemas.createSchema(String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload schemaPayload)
Create a schema for a given topic.
|
void |
Schemas.createSchema(String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo)
Create a schema for a given topic with the provided schema info.
|
void |
Sinks.createSink(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String fileName)
Create a new sink.
|
void |
Sinks.createSinkWithUrl(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String pkgUrl)
Create a new sink with package url.
|
void |
Sources.createSource(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String fileName)
Create a new source.
|
void |
Sources.createSourceWithUrl(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String pkgUrl)
Create a new source with package url.
|
void |
Topics.createSubscription(String topic,
String subscriptionName,
org.apache.pulsar.client.api.MessageId messageId)
Create a new subscription on a topic.
|
void |
Tenants.createTenant(String tenant,
org.apache.pulsar.common.policies.data.TenantInfo config)
Create a new tenant.
|
void |
Topics.delete(String topic)
Delete a topic.
|
default void |
Topics.delete(String topic,
boolean force) |
void |
Topics.delete(String topic,
boolean force,
boolean deleteSchema)
Delete a topic.
|
void |
Namespaces.deleteBookieAffinityGroup(String namespace)
Delete bookie affinity group configured for a namespace.
|
void |
Bookies.deleteBookieRackInfo(String bookieAddress)
Remove rack placement information for a specific bookie in the cluster.
|
void |
Clusters.deleteCluster(String cluster)
Delete an existing cluster.
|
void |
Brokers.deleteDynamicConfiguration(String configName)
It deletes dynamic configuration value into ZooKeeper.
|
void |
Clusters.deleteFailureDomain(String cluster,
String domainName)
Delete a domain in cluster.
|
void |
Functions.deleteFunction(String tenant,
String namespace,
String function)
Delete an existing function.
|
void |
Namespaces.deleteNamespace(String namespace)
Delete an existing namespace.
|
void |
Namespaces.deleteNamespace(String namespace,
boolean force)
Delete an existing namespace.
|
void |
Namespaces.deleteNamespaceAntiAffinityGroup(String namespace)
Delete anti-affinity group name for a namespace.
|
void |
Namespaces.deleteNamespaceBundle(String namespace,
String bundleRange)
Delete an existing bundle in a namespace.
|
void |
Namespaces.deleteNamespaceBundle(String namespace,
String bundleRange,
boolean force)
Delete an existing bundle in a namespace.
|
void |
Clusters.deleteNamespaceIsolationPolicy(String cluster,
String policyName)
Delete a namespace isolation policy for a cluster.
|
void |
Topics.deletePartitionedTopic(String topic)
Delete a partitioned topic.
|
default void |
Topics.deletePartitionedTopic(String topic,
boolean force) |
void |
Topics.deletePartitionedTopic(String topic,
boolean force,
boolean deleteSchema)
Delete a partitioned topic.
|
void |
Properties.deleteProperty(String property)
Deprecated.
Delete an existing property.
|
void |
Schemas.deleteSchema(String topic)
Delete the schema associated with a given topic.
|
void |
Sinks.deleteSink(String tenant,
String namespace,
String sink)
Delete an existing sink.
|
void |
Sources.deleteSource(String tenant,
String namespace,
String source)
Delete an existing source.
|
void |
Topics.deleteSubscription(String topic,
String subName)
Delete a subscription.
|
void |
Topics.deleteSubscription(String topic,
String subName,
boolean force)
Delete a subscription.
|
void |
Tenants.deleteTenant(String tenant)
Delete an existing tenant.
|
void |
Topics.disableDeduplication(String topic)
remove deduplication enabled of a topic.
|
void |
Functions.downloadFunction(String destinationFile,
String path)
Download Function Code.
|
void |
Functions.downloadFunction(String destinationFile,
String tenant,
String namespace,
String function)
Download Function Code.
|
void |
Topics.enableDeduplication(String topic,
boolean enabled)
set deduplication enabled of a topic.
|
org.apache.pulsar.client.api.Message<byte[]> |
Topics.examineMessage(String topic,
String initialPosition,
long messagePosition)
Examine a specific message on a topic by position relative to the earliest or the latest message.
|
CompletableFuture<org.apache.pulsar.client.api.Message<byte[]>> |
Topics.examineMessageAsync(String topic,
String initialPosition,
long messagePosition)
Examine a specific message on a topic by position relative to the earliest or the latest message.
|
void |
Topics.expireMessages(String topic,
String subscriptionName,
long expireTimeInSeconds)
Expire all messages older than given N (expireTimeInSeconds) seconds for a given subscription.
|
void |
Topics.expireMessages(String topic,
String subscriptionName,
org.apache.pulsar.client.api.MessageId messageId,
boolean isExcluded)
Expire all messages older than given N (expireTimeInSeconds) seconds for a given subscription.
|
void |
Topics.expireMessagesForAllSubscriptions(String topic,
long expireTimeInSeconds)
Expire all messages older than given N seconds for all subscriptions of the persistent-topic.
|
List<String> |
Brokers.getActiveBrokers(String cluster)
Get the list of active brokers in the cluster.
|
Map<String,String> |
Brokers.getAllDynamicConfigurations()
Get values of all overridden dynamic-configs.
|
org.apache.pulsar.common.stats.AllocatorStats |
BrokerStats.getAllocatorStats(String allocatorName)
Get the stats for the Netty allocator.
|
List<org.apache.pulsar.common.schema.SchemaInfo> |
Schemas.getAllSchemas(String topic)
Get all version schemas topic.
|
List<String> |
Namespaces.getAntiAffinityNamespaces(String tenant,
String cluster,
String namespaceAntiAffinityGroup)
Get all namespaces that grouped with given anti-affinity group.
|
Map<String,Collection<String>> |
Worker.getAssignments()
Get the function assignment among the cluster.
|
Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,org.apache.pulsar.common.policies.data.BacklogQuota> |
Namespaces.getBacklogQuotaMap(String namespace)
Get backlog quota map on a namespace.
|
Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,org.apache.pulsar.common.policies.data.BacklogQuota> |
Topics.getBacklogQuotaMap(String topic)
Get backlog quota map for a topic.
|
org.apache.pulsar.common.policies.data.BookieAffinityGroupData |
Namespaces.getBookieAffinityGroup(String namespace)
Get bookie affinity group configured for a namespace.
|
org.apache.pulsar.common.policies.data.BookieInfo |
Bookies.getBookieRackInfo(String bookieAddress)
Gets the rack placement information for a specific bookie in the cluster.
|
org.apache.pulsar.common.policies.data.BookiesRackConfiguration |
Bookies.getBookiesRackInfo()
Gets the rack placement information for all the bookies in the cluster.
|
List<org.apache.pulsar.common.policies.data.BrokerNamespaceIsolationData> |
Clusters.getBrokersWithNamespaceIsolationPolicy(String cluster)
Returns list of active brokers with namespace-isolation policies attached to it.
|
org.apache.pulsar.common.policies.data.BrokerNamespaceIsolationData |
Clusters.getBrokerWithNamespaceIsolationPolicy(String cluster,
String broker)
Returns active broker with namespace-isolation policies attached to it.
|
List<org.apache.pulsar.common.io.ConnectorDefinition> |
Sinks.getBuiltInSinks()
Fetches a list of supported Pulsar IO sinks currently running in cluster mode.
|
List<org.apache.pulsar.common.io.ConnectorDefinition> |
Sources.getBuiltInSources()
Fetches a list of supported Pulsar IO sources currently running in cluster mode.
|
String |
Lookup.getBundleRange(String topic)
Get a bundle range of a topic.
|
org.apache.pulsar.common.policies.data.BundlesData |
Namespaces.getBundles(String namespace)
Get the list of bundles.
|
List<org.apache.pulsar.common.functions.WorkerInfo> |
Worker.getCluster()
Get List of all workers belonging to this cluster.
|
org.apache.pulsar.common.policies.data.ClusterData |
Clusters.getCluster(String cluster)
Get the configuration data for the specified cluster.
|
org.apache.pulsar.common.functions.WorkerInfo |
Worker.getClusterLeader()
Get the worker who is the leader of the cluster.
|
List<String> |
Clusters.getClusters()
Get the list of clusters.
|
long |
Namespaces.getCompactionThreshold(String namespace)
Get the compactionThreshold for a namespace.
|
Long |
Topics.getCompactionThreshold(String topic)
Get the compactionThreshold for a topic.
|
com.google.gson.JsonArray |
ProxyStats.getConnections()
Returns Connections metrics.
|
List<org.apache.pulsar.common.io.ConnectorDefinition> |
Functions.getConnectorsList()
Deprecated.
|
Boolean |
Topics.getDeduplicationEnabled(String topic)
get deduplication enabled of a topic.
|
Integer |
Namespaces.getDeduplicationSnapshotInterval(String namespace)
Get the deduplicationSnapshotInterval for a namespace.
|
Integer |
Topics.getDeduplicationSnapshotInterval(String topic)
Get the deduplication snapshot interval for specified topic.
|
org.apache.pulsar.common.policies.data.ResourceQuota |
ResourceQuotas.getDefaultResourceQuota()
Get default resource quota for new resource bundles.
|
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies |
Namespaces.getDelayedDelivery(String namespace)
Get the delayed delivery messages for all topics within a namespace.
|
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies |
Topics.getDelayedDeliveryPolicy(String topic)
Get the delayed delivery policy for a specified topic.
|
org.apache.pulsar.common.policies.data.DispatchRate |
Namespaces.getDispatchRate(String namespace)
Get message-dispatch-rate (topics under this namespace can dispatch this many messages per second).
|
org.apache.pulsar.common.policies.data.DispatchRate |
Topics.getDispatchRate(String topic)
Get message-dispatch-rate (topic can dispatch this many messages per second).
|
List<String> |
Brokers.getDynamicConfigurationNames()
Get list of updatable configuration name.
|
org.apache.pulsar.common.policies.data.FailureDomain |
Clusters.getFailureDomain(String cluster,
String domainName)
Get the domain registered into a cluster.
|
Map<String,org.apache.pulsar.common.policies.data.FailureDomain> |
Clusters.getFailureDomains(String cluster)
Get all registered domains in cluster.
|
org.apache.pulsar.common.functions.FunctionConfig |
Functions.getFunction(String tenant,
String namespace,
String function)
Get the configuration for the specified function.
|
List<String> |
Functions.getFunctions(String tenant,
String namespace)
Get the list of functions.
|
List<org.apache.pulsar.common.policies.data.WorkerFunctionInstanceStats> |
Worker.getFunctionsStats()
Get all functions stats on a worker.
|
org.apache.pulsar.common.functions.FunctionState |
Functions.getFunctionState(String tenant,
String namespace,
String function,
String key)
Fetch the current state associated with a Pulsar Function.
|
org.apache.pulsar.common.policies.data.FunctionStats |
Functions.getFunctionStats(String tenant,
String namespace,
String function)
Gets the current stats of a function.
|
org.apache.pulsar.common.policies.data.FunctionStats.FunctionInstanceStats.FunctionInstanceStatsData |
Functions.getFunctionStats(String tenant,
String namespace,
String function,
int id)
Gets the current stats of a function instance.
|
org.apache.pulsar.common.policies.data.FunctionStatus |
Functions.getFunctionStatus(String tenant,
String namespace,
String function)
Gets the current status of a function.
|
org.apache.pulsar.common.policies.data.FunctionStatus.FunctionInstanceStatus.FunctionInstanceStatusData |
Functions.getFunctionStatus(String tenant,
String namespace,
String function,
int id)
Gets the current status of a function instance.
|
org.apache.pulsar.common.policies.data.InactiveTopicPolicies |
Namespaces.getInactiveTopicPolicies(String namespace)
Get the inactive deletion strategy for all topics within a namespace synchronously.
|
org.apache.pulsar.common.policies.data.InactiveTopicPolicies |
Topics.getInactiveTopicPolicies(String topic)
get inactive topic policies of a topic.
|
org.apache.pulsar.common.conf.InternalConfigurationData |
Brokers.getInternalConfigurationData()
Get the internal configuration data.
|
com.google.gson.JsonObject |
Topics.getInternalInfo(String topic)
Get a JSON representation of the topic metadata stored in ZooKeeper.
|
org.apache.pulsar.common.policies.data.PersistentTopicInternalStats |
Topics.getInternalStats(String topic)
Get the internal stats for the topic.
|
org.apache.pulsar.common.policies.data.PersistentTopicInternalStats |
NonPersistentTopics.getInternalStats(String topic)
Deprecated.
Get the internal stats for the topic.
|
org.apache.pulsar.common.policies.data.PersistentTopicInternalStats |
Topics.getInternalStats(String topic,
boolean metadata)
Get the internal stats for the topic.
|
boolean |
Namespaces.getIsAllowAutoUpdateSchema(String namespace)
Get whether allow auto update schema.
|
org.apache.pulsar.client.api.MessageId |
Topics.getLastMessageId(String topic)
Get the last commit message Id of a topic.
|
List<String> |
Topics.getList(String namespace)
Get the list of topics under a namespace.
|
List<String> |
NonPersistentTopics.getList(String namespace)
Deprecated.
Get list of topics exist into given namespace.
|
List<String> |
Topics.getListInBundle(String namespace,
String bundleRange)
Get list of topics exist into given bundle.
|
List<String> |
NonPersistentTopics.getListInBundle(String namespace,
String bundleRange)
Deprecated.
Get list of topics exist into given bundle.
|
org.apache.pulsar.policies.data.loadbalancer.LoadManagerReport |
BrokerStats.getLoadReport()
Get load for this broker.
|
Integer |
Topics.getMaxConsumers(String topic)
Get the max number of consumer for specified topic.
|
int |
Namespaces.getMaxConsumersPerSubscription(String namespace)
Get the maxConsumersPerSubscription for a namespace.
|
Integer |
Topics.getMaxConsumersPerSubscription(String topic)
Get the maxConsumersPerSubscription for a topic.
|
int |
Namespaces.getMaxConsumersPerTopic(String namespace)
Get the maxProducersPerTopic for a namespace.
|
Integer |
Topics.getMaxMessageSize(String topic)
Get the max message size for specified topic.
|
Integer |
Topics.getMaxProducers(String topic)
Get the max number of producer for specified topic.
|
Integer |
Namespaces.getMaxProducersPerTopic(String namespace)
Get the maxProducersPerTopic for a namespace.
|
Integer |
Namespaces.getMaxSubscriptionsPerTopic(String namespace)
Get the maxSubscriptionsPerTopic for a namespace.
|
Integer |
Topics.getMaxSubscriptionsPerTopic(String topic)
Get the max number of subscriptions for specified topic.
|
Integer |
Topics.getMaxUnackedMessagesOnConsumer(String topic)
get max unacked messages on consumer of a topic.
|
Integer |
Topics.getMaxUnackedMessagesOnSubscription(String topic)
get max unacked messages on subscription of a topic.
|
int |
Namespaces.getMaxUnackedMessagesPerConsumer(String namespace)
Get the maxUnackedMessagesPerConsumer for a namespace.
|
int |
Namespaces.getMaxUnackedMessagesPerSubscription(String namespace)
Get the maxUnackedMessagesPerSubscription for a namespace.
|
com.google.gson.JsonArray |
BrokerStats.getMBeans()
Requests JSON string server mbean dump.
|
org.apache.pulsar.client.api.Message<byte[]> |
Topics.getMessageById(String topic,
long ledgerId,
long entryId)
Get a message by its messageId via a topic subscription.
|
int |
Topics.getMessageTTL(String topic)
Get message TTL for a topic.
|
Collection<org.apache.pulsar.common.stats.Metrics> |
Worker.getMetrics()
Get worker metrics.
|
com.google.gson.JsonArray |
BrokerStats.getMetrics()
Returns Monitoring metrics.
|
String |
Namespaces.getNamespaceAntiAffinityGroup(String namespace)
Get anti-affinity group name for a namespace.
|
org.apache.pulsar.common.policies.data.ResourceQuota |
ResourceQuotas.getNamespaceBundleResourceQuota(String namespace,
String bundle)
Get resource quota of a namespace bundle.
|
Map<String,org.apache.pulsar.common.policies.data.NamespaceIsolationData> |
Clusters.getNamespaceIsolationPolicies(String cluster)
Get the namespace isolation policies of a cluster.
|
org.apache.pulsar.common.policies.data.NamespaceIsolationData |
Clusters.getNamespaceIsolationPolicy(String cluster,
String policyName)
Get a single namespace isolation policy for a cluster.
|
int |
Namespaces.getNamespaceMessageTTL(String namespace)
Get the message TTL for a namespace.
|
List<String> |
Namespaces.getNamespaceReplicationClusters(String namespace)
Get the replication clusters for a namespace.
|
List<String> |
Namespaces.getNamespaces(String tenant)
Get the list of namespaces.
|
List<String> |
Namespaces.getNamespaces(String tenant,
String cluster)
Deprecated.
|
Long |
Namespaces.getOffloadDeleteLagMs(String namespace)
Get the offload deletion lag for a namespace, in milliseconds.
|
org.apache.pulsar.common.policies.data.OffloadPolicies |
Namespaces.getOffloadPolicies(String namespace)
Get the offload configuration for a namespace.
|
org.apache.pulsar.common.policies.data.OffloadPolicies |
Topics.getOffloadPolicies(String topic)
get offload policies of a topic.
|
long |
Namespaces.getOffloadThreshold(String namespace)
Get the offloadThreshold for a namespace.
|
Map<String,org.apache.pulsar.common.policies.data.NamespaceOwnershipStatus> |
Brokers.getOwnedNamespaces(String cluster,
String brokerUrl)
Get the map of owned namespaces and their status from a single broker in the cluster.
|
org.apache.pulsar.common.policies.data.PartitionedTopicInternalStats |
Topics.getPartitionedInternalStats(String topic)
Get the stats for the partitioned topic.
|
default org.apache.pulsar.common.policies.data.PartitionedTopicStats |
Topics.getPartitionedStats(String topic,
boolean perPartition) |
org.apache.pulsar.common.policies.data.PartitionedTopicStats |
Topics.getPartitionedStats(String topic,
boolean perPartition,
boolean getPreciseBacklog,
boolean subscriptionBacklogSize)
Get the stats for the partitioned topic
Response Example:
|
List<String> |
Topics.getPartitionedTopicList(String namespace)
Get the list of partitioned topics under a namespace.
|
org.apache.pulsar.common.partition.PartitionedTopicMetadata |
Topics.getPartitionedTopicMetadata(String topic)
Get metadata of a partitioned topic.
|
org.apache.pulsar.common.partition.PartitionedTopicMetadata |
NonPersistentTopics.getPartitionedTopicMetadata(String topic)
Deprecated.
Get metadata of a partitioned topic.
|
Set<String> |
Clusters.getPeerClusterNames(String cluster)
Get peer-cluster names.
|
com.google.gson.JsonObject |
BrokerStats.getPendingBookieOpsStats()
Get pending bookie client op stats by namespace.
|
Map<String,Set<org.apache.pulsar.common.policies.data.AuthAction>> |
Namespaces.getPermissions(String namespace)
Get permissions on a namespace.
|
Map<String,Set<org.apache.pulsar.common.policies.data.AuthAction>> |
Topics.getPermissions(String topic)
Get permissions on a topic.
|
org.apache.pulsar.common.policies.data.PersistencePolicies |
Namespaces.getPersistence(String namespace)
Get the persistence configuration for a namespace.
|
org.apache.pulsar.common.policies.data.PersistencePolicies |
Topics.getPersistence(String topic)
Get the configuration of persistence policies for specified topic.
|
org.apache.pulsar.common.policies.data.Policies |
Namespaces.getPolicies(String namespace)
Get policies for a namespace.
|
List<String> |
Properties.getProperties()
Deprecated.
Get the list of properties.
|
org.apache.pulsar.common.policies.data.TenantInfo |
Properties.getPropertyAdmin(String property)
Deprecated.
Get the config of the property.
|
org.apache.pulsar.common.policies.data.PublishRate |
Namespaces.getPublishRate(String namespace)
Get message-publish-rate (topics under this namespace can publish this many messages per second).
|
org.apache.pulsar.common.policies.data.PublishRate |
Topics.getPublishRate(String topic)
Get message-publish-rate (topics can publish this many messages per second).
|
String |
Namespaces.getReplicationConfigVersion(String namespace)
Get the replication configuration version for a given namespace.
|
org.apache.pulsar.common.policies.data.DispatchRate |
Namespaces.getReplicatorDispatchRate(String namespace)
Get replicator-message-dispatch-rate.
|
org.apache.pulsar.common.policies.data.RetentionPolicies |
Namespaces.getRetention(String namespace)
Get the retention configuration for a namespace.
|
org.apache.pulsar.common.policies.data.RetentionPolicies |
Topics.getRetention(String topic)
Get the retention configuration for a topic.
|
Map<String,String> |
Brokers.getRuntimeConfigurations()
Get values of runtime configuration.
|
org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy |
Namespaces.getSchemaAutoUpdateCompatibilityStrategy(String namespace)
Deprecated.
|
org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy |
Namespaces.getSchemaCompatibilityStrategy(String namespace)
Get the strategy used to check the a new schema provided by a producer is compatible with the current schema
before it is installed.
|
org.apache.pulsar.common.schema.SchemaInfo |
Schemas.getSchemaInfo(String topic)
Retrieve the latest schema of a topic.
|
org.apache.pulsar.common.schema.SchemaInfo |
Schemas.getSchemaInfo(String topic,
long version)
Retrieve the schema of a topic at a given version.
|
org.apache.pulsar.common.schema.SchemaInfoWithVersion |
Schemas.getSchemaInfoWithVersion(String topic)
Retrieve the latest schema with verison of a topic.
|
boolean |
Namespaces.getSchemaValidationEnforced(String namespace)
Get schema validation enforced for namespace.
|
org.apache.pulsar.common.io.SinkConfig |
Sinks.getSink(String tenant,
String namespace,
String sink)
Get the configuration for the specified sink.
|
Set<String> |
Functions.getSinks()
Deprecated.
|
org.apache.pulsar.common.policies.data.SinkStatus |
Sinks.getSinkStatus(String tenant,
String namespace,
String sink)
Gets the current status of a sink.
|
org.apache.pulsar.common.policies.data.SinkStatus.SinkInstanceStatus.SinkInstanceStatusData |
Sinks.getSinkStatus(String tenant,
String namespace,
String sink,
int id)
Gets the current status of a sink instance.
|
org.apache.pulsar.common.io.SourceConfig |
Sources.getSource(String tenant,
String namespace,
String source)
Get the configuration for the specified source.
|
Set<String> |
Functions.getSources()
Deprecated.
|
org.apache.pulsar.common.policies.data.SourceStatus |
Sources.getSourceStatus(String tenant,
String namespace,
String source)
Gets the current status of a source.
|
org.apache.pulsar.common.policies.data.SourceStatus.SourceInstanceStatus.SourceInstanceStatusData |
Sources.getSourceStatus(String tenant,
String namespace,
String source,
int id)
Gets the current status of a source instance.
|
default org.apache.pulsar.common.policies.data.TopicStats |
Topics.getStats(String topic) |
org.apache.pulsar.common.policies.data.NonPersistentTopicStats |
NonPersistentTopics.getStats(String topic)
Deprecated.
Get the stats for the topic.
|
default org.apache.pulsar.common.policies.data.TopicStats |
Topics.getStats(String topic,
boolean getPreciseBacklog) |
org.apache.pulsar.common.policies.data.TopicStats |
Topics.getStats(String topic,
boolean getPreciseBacklog,
boolean subscriptionBacklogSize)
Get the stats for the topic.
|
org.apache.pulsar.common.policies.data.SubscribeRate |
Namespaces.getSubscribeRate(String namespace)
Get namespace-subscribe-rate (topics under this namespace allow subscribe times per consumer in a period).
|
org.apache.pulsar.common.policies.data.SubscribeRate |
Topics.getSubscribeRate(String topic)
Get topic-subscribe-rate (topics allow subscribe times per consumer in a period).
|
org.apache.pulsar.common.policies.data.DispatchRate |
Namespaces.getSubscriptionDispatchRate(String namespace)
Get subscription-message-dispatch-rate.
|
org.apache.pulsar.common.policies.data.DispatchRate |
Topics.getSubscriptionDispatchRate(String topic)
Get subscription-message-dispatch-rate for the topic.
|
int |
Namespaces.getSubscriptionExpirationTime(String namespace)
Get the subscription expiration time for a namespace.
|
List<String> |
Topics.getSubscriptions(String topic)
Get the list of subscriptions.
|
org.apache.pulsar.common.policies.data.TenantInfo |
Tenants.getTenantInfo(String tenant)
Get the config of the tenant.
|
List<String> |
Tenants.getTenants()
Get the list of tenants.
|
com.google.gson.JsonObject |
ProxyStats.getTopics()
Returns Topics metrics.
|
com.google.gson.JsonObject |
BrokerStats.getTopics()
Returns JSON string topics stats.
|
List<String> |
Namespaces.getTopics(String namespace)
Get the list of topics.
|
String |
Brokers.getVersion()
Get version of broker.
|
Long |
Schemas.getVersionBySchema(String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload schemaPayload)
Find schema version topic.
|
Long |
Schemas.getVersionBySchema(String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo)
Find schema version topic.
|
void |
Topics.grantPermission(String topic,
String role,
Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
Grant permission on a topic.
|
void |
Namespaces.grantPermissionOnNamespace(String namespace,
String role,
Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
Grant permission on a namespace.
|
void |
Namespaces.grantPermissionOnSubscription(String namespace,
String subscription,
Set<String> roles)
Grant permission to role to access subscription's admin-api.
|
void |
Brokers.healthcheck()
Run a healthcheck on the broker.
|
List<String> |
Sinks.listSinks(String tenant,
String namespace)
Get the list of sinks.
|
List<String> |
Sources.listSources(String tenant,
String namespace)
Get the list of sources.
|
Map<String,String> |
Lookup.lookupPartitionedTopic(String topic)
Lookup a partitioned topic.
|
String |
Lookup.lookupTopic(String topic)
Lookup a topic.
|
OffloadProcessStatus |
Topics.offloadStatus(String topic)
Check the status of an ongoing offloading operation for a topic.
|
List<org.apache.pulsar.client.api.Message<byte[]>> |
Topics.peekMessages(String topic,
String subName,
int numMessages)
Peek messages from a topic subscription.
|
void |
Functions.putFunctionState(String tenant,
String namespace,
String function,
org.apache.pulsar.common.functions.FunctionState state)
Puts the given state associated with a Pulsar Function.
|
void |
Sinks.reloadBuiltInSinks()
Reload the available built-in connectors, include Source and Sink.
|
void |
Sources.reloadBuiltInSources()
Reload the available built-in connectors, include Source and Source.
|
void |
Namespaces.removeAutoSubscriptionCreation(String namespace)
Removes the autoSubscriptionCreation policy for a given namespace.
|
void |
Namespaces.removeAutoTopicCreation(String namespace)
Removes the autoTopicCreation policy for a given namespace.
|
void |
Namespaces.removeBacklogQuota(String namespace)
Remove a backlog quota policy from a namespace.
|
void |
Topics.removeBacklogQuota(String topic)
Remove a backlog quota policy from a topic.
|
void |
Topics.removeCompactionThreshold(String topic)
Remove the compactionThreshold for a topic.
|
void |
Namespaces.removeDeduplicationSnapshotInterval(String namespace)
Remove the deduplicationSnapshotInterval for a namespace.
|
void |
Topics.removeDeduplicationSnapshotInterval(String topic)
Remove the deduplication snapshot interval for specified topic.
|
void |
Topics.removeDelayedDeliveryPolicy(String topic)
Remove the delayed delivery policy for a specified topic.
|
void |
Topics.removeDispatchRate(String topic)
Remove message-dispatch-rate.
|
CompletableFuture<Void> |
Topics.removeDispatchRateAsync(String topic)
Remove message-dispatch-rate asynchronously.
|
void |
Namespaces.removeInactiveTopicPolicies(String namespace)
Remove inactive topic policies from a namespace.
|
void |
Topics.removeInactiveTopicPolicies(String topic)
remove inactive topic policies of a topic.
|
void |
Topics.removeMaxConsumers(String topic)
Remove the max number of consumer for specified topic.
|
void |
Topics.removeMaxConsumersPerSubscription(String topic)
Remove the maxConsumersPerSubscription for a topic.
|
void |
Topics.removeMaxMessageSize(String topic)
Remove the max message size for specified topic.
|
void |
Topics.removeMaxProducers(String topic)
Remove the max number of producer for specified topic.
|
void |
Namespaces.removeMaxProducersPerTopic(String namespace)
Remove maxProducersPerTopic for a namespace.
|
void |
Namespaces.removeMaxSubscriptionsPerTopic(String namespace)
Remove the maxSubscriptionsPerTopic for a namespace.
|
void |
Topics.removeMaxSubscriptionsPerTopic(String topic)
Remove the max number of subscriptions for specified topic.
|
void |
Topics.removeMaxUnackedMessagesOnConsumer(String topic)
remove max unacked messages on consumer of a topic.
|
void |
Topics.removeMaxUnackedMessagesOnSubscription(String topic)
remove max unacked messages on subscription of a topic.
|
void |
Topics.removeMessageTTL(String topic)
Remove message TTL for a topic.
|
void |
Namespaces.removeNamespaceMessageTTL(String namespace)
Remove the messages Time to Live for all the topics within a namespace.
|
void |
Namespaces.removeOffloadPolicies(String namespace)
Remove the offload configuration for a namespace.
|
void |
Topics.removeOffloadPolicies(String topic)
remove offload policies of a topic.
|
void |
Topics.removePersistence(String topic)
Remove the configuration of persistence policies for specified topic.
|
void |
Namespaces.removePublishRate(String namespace)
Remove message-publish-rate (topics under this namespace can publish this many messages per second).
|
void |
Topics.removePublishRate(String topic)
Remove message-publish-rate.
|
CompletableFuture<Void> |
Topics.removePublishRateAsync(String topic)
Remove message-publish-rate asynchronously.
|
void |
Topics.removeRetention(String topic)
Remove the retention configuration for all the topics on a topic.
|
void |
Topics.removeSubscribeRate(String topic)
Remove topic-subscribe-rate.
|
CompletableFuture<Void> |
Topics.removeSubscribeRateAsync(String topic)
Remove topic-subscribe-rate asynchronously.
|
void |
Topics.removeSubscriptionDispatchRate(String topic)
Remove subscription-message-dispatch-rate for a topic.
|
void |
Topics.resetCursor(String topic,
String subName,
long timestamp)
Reset cursor position on a topic subscription.
|
void |
Topics.resetCursor(String topic,
String subName,
org.apache.pulsar.client.api.MessageId messageId)
Reset cursor position on a topic subscription.
|
void |
Topics.resetCursor(String topic,
String subName,
org.apache.pulsar.client.api.MessageId messageId,
boolean isExcluded)
Reset cursor position on a topic subscription.
|
void |
ResourceQuotas.resetNamespaceBundleResourceQuota(String namespace,
String bundle)
Reset resource quota for a namespace bundle to default value.
|
void |
Functions.restartFunction(String tenant,
String namespace,
String function)
Restart all function instances.
|
void |
Functions.restartFunction(String tenant,
String namespace,
String function,
int instanceId)
Restart function instance.
|
void |
Sinks.restartSink(String tenant,
String namespace,
String sink)
Restart all sink instances.
|
void |
Sinks.restartSink(String tenant,
String namespace,
String sink,
int instanceId)
Restart sink instance.
|
void |
Sources.restartSource(String tenant,
String namespace,
String source)
Restart all source instances.
|
void |
Sources.restartSource(String tenant,
String namespace,
String source,
int instanceId)
Restart source instance.
|
void |
Namespaces.revokePermissionOnSubscription(String namespace,
String subscription,
String role)
Revoke permissions on a subscription's admin-api access.
|
void |
Topics.revokePermissions(String topic,
String role)
Revoke permissions on a topic.
|
void |
Namespaces.revokePermissionsOnNamespace(String namespace,
String role)
Revoke permissions on a namespace.
|
void |
Namespaces.setAutoSubscriptionCreation(String namespace,
org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride)
Sets the autoSubscriptionCreation policy for a given namespace, overriding broker settings.
|
void |
Namespaces.setAutoTopicCreation(String namespace,
org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride)
Sets the autoTopicCreation policy for a given namespace, overriding broker settings.
|
void |
Namespaces.setBacklogQuota(String namespace,
org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota)
Set a backlog quota for all the topics on a namespace.
|
void |
Topics.setBacklogQuota(String topic,
org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota)
Set a backlog quota for a topic.
|
void |
Namespaces.setBookieAffinityGroup(String namespace,
org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup)
Set bookie affinity group for a namespace to isolate namespace write to bookies that are part of given affinity
group.
|
void |
Namespaces.setCompactionThreshold(String namespace,
long compactionThreshold)
Set the compactionThreshold for a namespace.
|
void |
Topics.setCompactionThreshold(String topic,
long compactionThreshold)
Set the compactionThreshold for a topic.
|
void |
Topics.setDeduplicationSnapshotInterval(String topic,
int interval)
Set the deduplication snapshot interval for specified topic.
|
void |
Namespaces.setDeduplicationSnapshotInterval(String namespace,
Integer interval)
Set the deduplicationSnapshotInterval for a namespace.
|
void |
Namespaces.setDeduplicationStatus(String namespace,
boolean enableDeduplication)
Set the deduplication status for all topics within a namespace.
|
void |
ResourceQuotas.setDefaultResourceQuota(org.apache.pulsar.common.policies.data.ResourceQuota quota)
Set default resource quota for new namespace bundles.
|
void |
Namespaces.setDelayedDeliveryMessages(String namespace,
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies delayedDeliveryPolicies)
Set the delayed delivery messages for all topics within a namespace.
|
void |
Topics.setDelayedDeliveryPolicy(String topic,
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies delayedDeliveryPolicies)
Set the delayed delivery policy for a specified topic.
|
void |
Namespaces.setDispatchRate(String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate)
Set message-dispatch-rate (topics under this namespace can dispatch this many messages per second).
|
void |
Topics.setDispatchRate(String topic,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate)
Set message-dispatch-rate (topic can dispatch this many messages per second).
|
void |
Namespaces.setEncryptionRequiredStatus(String namespace,
boolean encryptionRequired)
Set the encryption required status for all topics within a namespace.
|
void |
Namespaces.setInactiveTopicPolicies(String namespace,
org.apache.pulsar.common.policies.data.InactiveTopicPolicies inactiveTopicPolicies)
As same as setInactiveTopicPoliciesAsync,but it is synchronous.
|
void |
Topics.setInactiveTopicPolicies(String topic,
org.apache.pulsar.common.policies.data.InactiveTopicPolicies inactiveTopicPolicies)
set inactive topic policies of a topic.
|
void |
Namespaces.setIsAllowAutoUpdateSchema(String namespace,
boolean isAllowAutoUpdateSchema)
Set whether to allow automatic schema updates.
|
void |
Topics.setMaxConsumers(String topic,
int maxConsumers)
Set the max number of consumer for specified topic.
|
void |
Namespaces.setMaxConsumersPerSubscription(String namespace,
int maxConsumersPerSubscription)
Set maxConsumersPerSubscription for a namespace.
|
void |
Topics.setMaxConsumersPerSubscription(String topic,
int maxConsumersPerSubscription)
Set maxConsumersPerSubscription for a topic.
|
void |
Namespaces.setMaxConsumersPerTopic(String namespace,
int maxConsumersPerTopic)
Set maxConsumersPerTopic for a namespace.
|
void |
Topics.setMaxMessageSize(String topic,
int maxMessageSize)
Set the max message size for specified topic.
|
void |
Topics.setMaxProducers(String topic,
int maxProducers)
Set the max number of producer for specified topic.
|
void |
Namespaces.setMaxProducersPerTopic(String namespace,
int maxProducersPerTopic)
Set maxProducersPerTopic for a namespace.
|
void |
Namespaces.setMaxSubscriptionsPerTopic(String namespace,
int maxSubscriptionsPerTopic)
Set the maxSubscriptionsPerTopic for a namespace.
|
void |
Topics.setMaxSubscriptionsPerTopic(String topic,
int maxSubscriptionsPerTopic)
Set the max number of subscriptions for specified topic.
|
void |
Topics.setMaxUnackedMessagesOnConsumer(String topic,
int maxNum)
set max unacked messages on consumer of a topic.
|
void |
Topics.setMaxUnackedMessagesOnSubscription(String topic,
int maxNum)
set max unacked messages on subscription of a topic.
|
void |
Namespaces.setMaxUnackedMessagesPerConsumer(String namespace,
int maxUnackedMessagesPerConsumer)
Set maxUnackedMessagesPerConsumer for a namespace.
|
void |
Namespaces.setMaxUnackedMessagesPerSubscription(String namespace,
int maxUnackedMessagesPerSubscription)
Set maxUnackedMessagesPerSubscription for a namespace.
|
void |
Topics.setMessageTTL(String topic,
int messageTTLInSecond)
Set message TTL for a topic.
|
void |
Namespaces.setNamespaceAntiAffinityGroup(String namespace,
String namespaceAntiAffinityGroup)
Set anti-affinity group name for a namespace.
|
void |
ResourceQuotas.setNamespaceBundleResourceQuota(String namespace,
String bundle,
org.apache.pulsar.common.policies.data.ResourceQuota quota)
Set resource quota for a namespace bundle.
|
void |
Namespaces.setNamespaceMessageTTL(String namespace,
int ttlInSeconds)
Set the messages Time to Live for all the topics within a namespace.
|
void |
Namespaces.setNamespaceReplicationClusters(String namespace,
Set<String> clusterIds)
Set the replication clusters for a namespace.
|
void |
Namespaces.setOffloadDeleteLag(String namespace,
long lag,
TimeUnit unit)
Set the offload deletion lag for a namespace.
|
void |
Namespaces.setOffloadPolicies(String namespace,
org.apache.pulsar.common.policies.data.OffloadPolicies offloadPolicies)
Set the offload configuration for all the topics in a namespace.
|
void |
Topics.setOffloadPolicies(String topic,
org.apache.pulsar.common.policies.data.OffloadPolicies offloadPolicies)
set offload policies of a topic.
|
void |
Namespaces.setOffloadThreshold(String namespace,
long offloadThreshold)
Set the offloadThreshold for a namespace.
|
void |
Namespaces.setPersistence(String namespace,
org.apache.pulsar.common.policies.data.PersistencePolicies persistence)
Set the persistence configuration for all the topics on a namespace.
|
void |
Topics.setPersistence(String topic,
org.apache.pulsar.common.policies.data.PersistencePolicies persistencePolicies)
Set the configuration of persistence policies for specified topic.
|
void |
Namespaces.setPublishRate(String namespace,
org.apache.pulsar.common.policies.data.PublishRate publishMsgRate)
Set message-publish-rate (topics under this namespace can publish this many messages per second).
|
void |
Topics.setPublishRate(String topic,
org.apache.pulsar.common.policies.data.PublishRate publishMsgRate)
Set message-publish-rate (topics can publish this many messages per second).
|
void |
Namespaces.setReplicatorDispatchRate(String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate)
Set replicator-message-dispatch-rate.
|
void |
Namespaces.setRetention(String namespace,
org.apache.pulsar.common.policies.data.RetentionPolicies retention)
Set the retention configuration for all the topics on a namespace.
|
void |
Topics.setRetention(String topic,
org.apache.pulsar.common.policies.data.RetentionPolicies retention)
Set the retention configuration on a topic.
|
void |
Namespaces.setSchemaAutoUpdateCompatibilityStrategy(String namespace,
org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy)
Deprecated.
|
void |
Namespaces.setSchemaCompatibilityStrategy(String namespace,
org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy strategy)
Set the strategy used to check the a new schema provided by a producer is compatible with the current schema
before it is installed.
|
void |
Namespaces.setSchemaValidationEnforced(String namespace,
boolean schemaValidationEnforced)
Set schema validation enforced for namespace.
|
void |
Namespaces.setSubscribeRate(String namespace,
org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate)
Set namespace-subscribe-rate (topics under this namespace will limit by subscribeRate).
|
void |
Topics.setSubscribeRate(String topic,
org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate)
Set topic-subscribe-rate (topic will limit by subscribeRate).
|
void |
Namespaces.setSubscriptionAuthMode(String namespace,
org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode)
Set the given subscription auth mode on all topics on a namespace.
|
void |
Namespaces.setSubscriptionDispatchRate(String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate)
Set subscription-message-dispatch-rate.
|
void |
Topics.setSubscriptionDispatchRate(String topic,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate)
Set subscription-message-dispatch-rate for the topic.
|
void |
Namespaces.setSubscriptionExpirationTime(String namespace,
int expirationTime)
Set the subscription expiration time in minutes for all the topics within a namespace.
|
void |
Topics.skipAllMessages(String topic,
String subName)
Skip all messages on a topic subscription.
|
void |
Topics.skipMessages(String topic,
String subName,
long numMessages)
Skip messages on a topic subscription.
|
void |
Namespaces.splitNamespaceBundle(String namespace,
String bundle,
boolean unloadSplitBundles,
String splitAlgorithmName)
Split namespace bundle.
|
void |
Functions.startFunction(String tenant,
String namespace,
String function)
Start all function instances.
|
void |
Functions.startFunction(String tenant,
String namespace,
String function,
int instanceId)
Start function instance.
|
void |
Sinks.startSink(String tenant,
String namespace,
String sink)
Start all sink instances.
|
void |
Sinks.startSink(String tenant,
String namespace,
String sink,
int instanceId)
Start sink instance.
|
void |
Sources.startSource(String tenant,
String namespace,
String source)
Start all source instances.
|
void |
Sources.startSource(String tenant,
String namespace,
String source,
int instanceId)
Start source instance.
|
void |
Functions.stopFunction(String tenant,
String namespace,
String function)
Stop all function instances.
|
void |
Functions.stopFunction(String tenant,
String namespace,
String function,
int instanceId)
Stop function instance.
|
void |
Sinks.stopSink(String tenant,
String namespace,
String sink)
Stop all sink instances.
|
void |
Sinks.stopSink(String tenant,
String namespace,
String sink,
int instanceId)
Stop sink instance.
|
void |
Sources.stopSource(String tenant,
String namespace,
String source)
Stop all source instances.
|
void |
Sources.stopSource(String tenant,
String namespace,
String source,
int instanceId)
Stop source instance.
|
org.apache.pulsar.client.api.MessageId |
Topics.terminateTopic(String topic)
Terminate the topic and prevent any more messages being published on it.
|
org.apache.pulsar.common.protocol.schema.IsCompatibilityResponse |
Schemas.testCompatibility(String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload schemaPayload)
Judge schema compatibility topic.
|
org.apache.pulsar.common.protocol.schema.IsCompatibilityResponse |
Schemas.testCompatibility(String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo)
Judge schema compatibility topic.
|
void |
Topics.triggerCompaction(String topic)
Trigger compaction to run for a topic.
|
String |
Functions.triggerFunction(String tenant,
String namespace,
String function,
String topic,
String triggerValue,
String triggerFile)
Triggers the function by writing to the input topic.
|
void |
Topics.triggerOffload(String topic,
org.apache.pulsar.client.api.MessageId messageId)
Trigger offloading messages in topic to longterm storage.
|
void |
Namespaces.unload(String namespace)
Unload a namespace from the current serving broker.
|
void |
Topics.unload(String topic)
Unload a topic.
|
void |
NonPersistentTopics.unload(String topic)
Deprecated.
Unload a topic.
|
void |
Namespaces.unloadNamespaceBundle(String namespace,
String bundle)
Unload namespace bundle.
|
void |
Namespaces.unsubscribeNamespace(String namespace,
String subscription)
Unsubscribe the given subscription on all topics on a namespace.
|
void |
Namespaces.unsubscribeNamespaceBundle(String namespace,
String bundle,
String subscription)
Unsubscribe the given subscription on all topics on a namespace bundle.
|
void |
Bookies.updateBookieRackInfo(String bookieAddress,
String group,
org.apache.pulsar.common.policies.data.BookieInfo bookieInfo)
Updates the rack placement information for a specific bookie in the cluster.
|
void |
Clusters.updateCluster(String cluster,
org.apache.pulsar.common.policies.data.ClusterData clusterData)
Update the configuration for a cluster.
|
void |
Brokers.updateDynamicConfiguration(String configName,
String configValue)
Update a dynamic configuration value into ZooKeeper.
|
void |
Clusters.updateFailureDomain(String cluster,
String domainName,
org.apache.pulsar.common.policies.data.FailureDomain domain)
Update a domain into cluster.
|
void |
Functions.updateFunction(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String fileName)
Update the configuration for a function.
|
void |
Functions.updateFunction(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String fileName,
org.apache.pulsar.common.functions.UpdateOptions updateOptions)
Update the configuration for a function.
|
void |
Functions.updateFunctionWithUrl(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String pkgUrl)
Update the configuration for a function.
|
void |
Functions.updateFunctionWithUrl(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String pkgUrl,
org.apache.pulsar.common.functions.UpdateOptions updateOptions)
Update the configuration for a function.
|
void |
Clusters.updateNamespaceIsolationPolicy(String cluster,
String policyName,
org.apache.pulsar.common.policies.data.NamespaceIsolationData namespaceIsolationData)
Update a namespace isolation policy for a cluster.
|
void |
Topics.updatePartitionedTopic(String topic,
int numPartitions)
Update number of partitions of a non-global partitioned topic.
|
void |
Topics.updatePartitionedTopic(String topic,
int numPartitions,
boolean updateLocalTopicOnly)
Update number of partitions of a non-global partitioned topic.
|
void |
Clusters.updatePeerClusterNames(String cluster,
LinkedHashSet<String> peerClusterNames)
Update peer cluster names.
|
void |
Properties.updateProperty(String property,
org.apache.pulsar.common.policies.data.TenantInfo config)
Deprecated.
Update the admins for a property.
|
void |
Sinks.updateSink(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String fileName)
Update the configuration for a sink.
|
void |
Sinks.updateSink(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String fileName,
org.apache.pulsar.common.functions.UpdateOptions updateOptions)
Update the configuration for a sink.
|
void |
Sinks.updateSinkWithUrl(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String pkgUrl)
Update the configuration for a sink.
|
void |
Sinks.updateSinkWithUrl(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String pkgUrl,
org.apache.pulsar.common.functions.UpdateOptions updateOptions)
Update the configuration for a sink.
|
void |
Sources.updateSource(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String fileName)
Update the configuration for a source.
|
void |
Sources.updateSource(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String fileName,
org.apache.pulsar.common.functions.UpdateOptions updateOptions)
Update the configuration for a source.
|
void |
Sources.updateSourceWithUrl(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String pkgUrl)
Update the configuration for a source.
|
void |
Sources.updateSourceWithUrl(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String pkgUrl,
org.apache.pulsar.common.functions.UpdateOptions updateOptions)
Update the configuration for a source.
|
void |
Tenants.updateTenant(String tenant,
org.apache.pulsar.common.policies.data.TenantInfo config)
Update the admins for a tenant.
|
void |
Functions.uploadFunction(String sourceFile,
String path)
Upload Data.
|
| Modifier and Type | Method and Description |
|---|---|
PulsarAdminException |
BaseResource.getApiException(javax.ws.rs.core.Response response) |
PulsarAdminException |
BaseResource.getApiException(Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
org.asynchttpclient.RequestBuilder |
ComponentResource.addAuthHeaders(javax.ws.rs.client.WebTarget target,
org.asynchttpclient.RequestBuilder requestBuilder) |
void |
BrokersImpl.backlogQuotaCheck() |
void |
NamespacesImpl.clearNamespaceBacklog(String namespace) |
void |
NamespacesImpl.clearNamespaceBacklogForSubscription(String namespace,
String subscription) |
void |
NamespacesImpl.clearNamespaceBundleBacklog(String namespace,
String bundle) |
void |
NamespacesImpl.clearNamespaceBundleBacklogForSubscription(String namespace,
String bundle,
String subscription) |
void |
NamespacesImpl.clearOffloadDeleteLag(String namespace) |
LongRunningProcessStatus |
TopicsImpl.compactionStatus(String topic) |
void |
ClustersImpl.createCluster(String cluster,
org.apache.pulsar.common.policies.data.ClusterData clusterData) |
void |
ClustersImpl.createFailureDomain(String cluster,
String domainName,
org.apache.pulsar.common.policies.data.FailureDomain domain) |
void |
FunctionsImpl.createFunction(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String fileName) |
void |
FunctionsImpl.createFunctionWithUrl(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String pkgUrl) |
void |
TopicsImpl.createMissedPartitions(String topic) |
void |
NamespacesImpl.createNamespace(String namespace) |
void |
NamespacesImpl.createNamespace(String namespace,
org.apache.pulsar.common.policies.data.BundlesData bundlesData) |
void |
NamespacesImpl.createNamespace(String namespace,
int numBundles) |
void |
NamespacesImpl.createNamespace(String namespace,
org.apache.pulsar.common.policies.data.Policies policies) |
void |
NamespacesImpl.createNamespace(String namespace,
Set<String> clusters) |
void |
ClustersImpl.createNamespaceIsolationPolicy(String cluster,
String policyName,
org.apache.pulsar.common.policies.data.NamespaceIsolationData namespaceIsolationData) |
void |
TopicsImpl.createNonPartitionedTopic(String topic) |
void |
NonPersistentTopicsImpl.createPartitionedTopic(String topic,
int numPartitions) |
void |
TopicsImpl.createPartitionedTopic(String topic,
int numPartitions) |
void |
TenantsImpl.createProperty(String tenant,
org.apache.pulsar.common.policies.data.TenantInfo config) |
void |
SchemasImpl.createSchema(String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload) |
void |
SchemasImpl.createSchema(String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo) |
void |
SinksImpl.createSink(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String fileName) |
void |
SinksImpl.createSinkWithUrl(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String pkgUrl) |
void |
SourcesImpl.createSource(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String fileName) |
void |
SourcesImpl.createSourceWithUrl(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String pkgUrl) |
void |
TopicsImpl.createSubscription(String topic,
String subscriptionName,
org.apache.pulsar.client.api.MessageId messageId) |
void |
TenantsImpl.createTenant(String tenant,
org.apache.pulsar.common.policies.data.TenantInfo config) |
void |
TopicsImpl.delete(String topic) |
void |
TopicsImpl.delete(String topic,
boolean force,
boolean deleteSchema) |
void |
NamespacesImpl.deleteBookieAffinityGroup(String namespace) |
void |
BookiesImpl.deleteBookieRackInfo(String bookieAddress) |
void |
ClustersImpl.deleteCluster(String cluster) |
void |
BrokersImpl.deleteDynamicConfiguration(String configName) |
void |
ClustersImpl.deleteFailureDomain(String cluster,
String domainName) |
void |
FunctionsImpl.deleteFunction(String cluster,
String namespace,
String function) |
void |
NamespacesImpl.deleteNamespace(String namespace) |
void |
NamespacesImpl.deleteNamespace(String namespace,
boolean force) |
void |
NamespacesImpl.deleteNamespaceAntiAffinityGroup(String namespace) |
void |
NamespacesImpl.deleteNamespaceBundle(String namespace,
String bundleRange) |
void |
NamespacesImpl.deleteNamespaceBundle(String namespace,
String bundleRange,
boolean force) |
void |
ClustersImpl.deleteNamespaceIsolationPolicy(String cluster,
String policyName) |
void |
TopicsImpl.deletePartitionedTopic(String topic) |
void |
TopicsImpl.deletePartitionedTopic(String topic,
boolean force,
boolean deleteSchema) |
void |
TenantsImpl.deleteProperty(String tenant) |
void |
SchemasImpl.deleteSchema(String topic) |
void |
SinksImpl.deleteSink(String cluster,
String namespace,
String function) |
void |
SourcesImpl.deleteSource(String cluster,
String namespace,
String function) |
void |
TopicsImpl.deleteSubscription(String topic,
String subName) |
void |
TopicsImpl.deleteSubscription(String topic,
String subName,
boolean force) |
void |
TenantsImpl.deleteTenant(String tenant) |
void |
TopicsImpl.disableDeduplication(String topic) |
void |
FunctionsImpl.downloadFunction(String destinationPath,
String path) |
void |
FunctionsImpl.downloadFunction(String destinationPath,
String tenant,
String namespace,
String functionName) |
void |
TopicsImpl.enableDeduplication(String topic,
boolean enabled) |
org.apache.pulsar.client.api.Message<byte[]> |
TopicsImpl.examineMessage(String topic,
String initialPosition,
long messagePosition) |
void |
TopicsImpl.expireMessages(String topic,
String subName,
long expireTimeInSeconds) |
void |
TopicsImpl.expireMessages(String topic,
String subscriptionName,
org.apache.pulsar.client.api.MessageId messageId,
boolean isExcluded) |
void |
TopicsImpl.expireMessagesForAllSubscriptions(String topic,
long expireTimeInSeconds) |
List<String> |
BrokersImpl.getActiveBrokers(String cluster) |
Map<String,String> |
BrokersImpl.getAllDynamicConfigurations() |
org.apache.pulsar.common.stats.AllocatorStats |
BrokerStatsImpl.getAllocatorStats(String allocatorName) |
List<org.apache.pulsar.common.schema.SchemaInfo> |
SchemasImpl.getAllSchemas(String topic) |
List<String> |
NamespacesImpl.getAntiAffinityNamespaces(String tenant,
String cluster,
String namespaceAntiAffinityGroup) |
Map<String,Collection<String>> |
WorkerImpl.getAssignments() |
Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,org.apache.pulsar.common.policies.data.BacklogQuota> |
NamespacesImpl.getBacklogQuotaMap(String namespace) |
Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,org.apache.pulsar.common.policies.data.BacklogQuota> |
TopicsImpl.getBacklogQuotaMap(String topic) |
org.apache.pulsar.common.policies.data.BookieAffinityGroupData |
NamespacesImpl.getBookieAffinityGroup(String namespace) |
org.apache.pulsar.common.policies.data.BookieInfo |
BookiesImpl.getBookieRackInfo(String bookieAddress) |
org.apache.pulsar.common.policies.data.BookiesRackConfiguration |
BookiesImpl.getBookiesRackInfo() |
com.google.gson.JsonObject |
BrokerStatsImpl.getBrokerResourceAvailability(String namespace) |
List<org.apache.pulsar.common.policies.data.BrokerNamespaceIsolationData> |
ClustersImpl.getBrokersWithNamespaceIsolationPolicy(String cluster) |
org.apache.pulsar.common.policies.data.BrokerNamespaceIsolationData |
ClustersImpl.getBrokerWithNamespaceIsolationPolicy(String cluster,
String broker) |
List<org.apache.pulsar.common.io.ConnectorDefinition> |
SinksImpl.getBuiltInSinks() |
List<org.apache.pulsar.common.io.ConnectorDefinition> |
SourcesImpl.getBuiltInSources() |
String |
LookupImpl.getBundleRange(String topic) |
org.apache.pulsar.common.policies.data.BundlesData |
NamespacesImpl.getBundles(String namespace) |
List<org.apache.pulsar.common.functions.WorkerInfo> |
WorkerImpl.getCluster() |
List<org.apache.pulsar.common.functions.WorkerInfo> |
FunctionsImpl.getCluster() |
org.apache.pulsar.common.policies.data.ClusterData |
ClustersImpl.getCluster(String cluster) |
org.apache.pulsar.common.functions.WorkerInfo |
WorkerImpl.getClusterLeader() |
List<String> |
ClustersImpl.getClusters() |
long |
NamespacesImpl.getCompactionThreshold(String namespace) |
Long |
TopicsImpl.getCompactionThreshold(String topic) |
com.google.gson.JsonArray |
ProxyStatsImpl.getConnections() |
List<org.apache.pulsar.common.io.ConnectorDefinition> |
FunctionsImpl.getConnectorsList() |
Boolean |
TopicsImpl.getDeduplicationEnabled(String topic) |
Integer |
NamespacesImpl.getDeduplicationSnapshotInterval(String namespace) |
Integer |
TopicsImpl.getDeduplicationSnapshotInterval(String topic) |
org.apache.pulsar.common.policies.data.ResourceQuota |
ResourceQuotasImpl.getDefaultResourceQuota() |
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies |
NamespacesImpl.getDelayedDelivery(String namespace) |
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies |
TopicsImpl.getDelayedDeliveryPolicy(String topic) |
org.apache.pulsar.common.policies.data.DispatchRate |
NamespacesImpl.getDispatchRate(String namespace) |
org.apache.pulsar.common.policies.data.DispatchRate |
TopicsImpl.getDispatchRate(String topic) |
List<String> |
BrokersImpl.getDynamicConfigurationNames() |
org.apache.pulsar.common.policies.data.FailureDomain |
ClustersImpl.getFailureDomain(String cluster,
String domainName) |
Map<String,org.apache.pulsar.common.policies.data.FailureDomain> |
ClustersImpl.getFailureDomains(String cluster) |
org.apache.pulsar.common.functions.FunctionConfig |
FunctionsImpl.getFunction(String tenant,
String namespace,
String function) |
List<String> |
FunctionsImpl.getFunctions(String tenant,
String namespace) |
List<org.apache.pulsar.common.policies.data.WorkerFunctionInstanceStats> |
WorkerImpl.getFunctionsStats() |
org.apache.pulsar.common.functions.FunctionState |
FunctionsImpl.getFunctionState(String tenant,
String namespace,
String function,
String key) |
org.apache.pulsar.common.policies.data.FunctionStats |
FunctionsImpl.getFunctionStats(String tenant,
String namespace,
String function) |
org.apache.pulsar.common.policies.data.FunctionStats.FunctionInstanceStats.FunctionInstanceStatsData |
FunctionsImpl.getFunctionStats(String tenant,
String namespace,
String function,
int id) |
org.apache.pulsar.common.policies.data.FunctionStatus |
FunctionsImpl.getFunctionStatus(String tenant,
String namespace,
String function) |
org.apache.pulsar.common.policies.data.FunctionStatus.FunctionInstanceStatus.FunctionInstanceStatusData |
FunctionsImpl.getFunctionStatus(String tenant,
String namespace,
String function,
int id) |
org.apache.pulsar.common.policies.data.InactiveTopicPolicies |
NamespacesImpl.getInactiveTopicPolicies(String namespace) |
org.apache.pulsar.common.policies.data.InactiveTopicPolicies |
TopicsImpl.getInactiveTopicPolicies(String topic) |
org.apache.pulsar.common.conf.InternalConfigurationData |
BrokersImpl.getInternalConfigurationData() |
com.google.gson.JsonObject |
TopicsImpl.getInternalInfo(String topic) |
org.apache.pulsar.common.policies.data.PersistentTopicInternalStats |
NonPersistentTopicsImpl.getInternalStats(String topic) |
org.apache.pulsar.common.policies.data.PersistentTopicInternalStats |
TopicsImpl.getInternalStats(String topic) |
org.apache.pulsar.common.policies.data.PersistentTopicInternalStats |
TopicsImpl.getInternalStats(String topic,
boolean metadata) |
boolean |
NamespacesImpl.getIsAllowAutoUpdateSchema(String namespace) |
org.apache.pulsar.client.api.MessageId |
TopicsImpl.getLastMessageId(String topic) |
List<String> |
NonPersistentTopicsImpl.getList(String namespace) |
List<String> |
TopicsImpl.getList(String namespace) |
List<String> |
NonPersistentTopicsImpl.getListInBundle(String namespace,
String bundleRange) |
List<String> |
TopicsImpl.getListInBundle(String namespace,
String bundleRange) |
org.apache.pulsar.policies.data.loadbalancer.LoadManagerReport |
BrokerStatsImpl.getLoadReport() |
Integer |
TopicsImpl.getMaxConsumers(String topic) |
int |
NamespacesImpl.getMaxConsumersPerSubscription(String namespace) |
Integer |
TopicsImpl.getMaxConsumersPerSubscription(String topic) |
int |
NamespacesImpl.getMaxConsumersPerTopic(String namespace) |
Integer |
TopicsImpl.getMaxMessageSize(String topic) |
Integer |
TopicsImpl.getMaxProducers(String topic) |
Integer |
NamespacesImpl.getMaxProducersPerTopic(String namespace) |
Integer |
NamespacesImpl.getMaxSubscriptionsPerTopic(String namespace) |
Integer |
TopicsImpl.getMaxSubscriptionsPerTopic(String topic) |
Integer |
TopicsImpl.getMaxUnackedMessagesOnConsumer(String topic) |
Integer |
TopicsImpl.getMaxUnackedMessagesOnSubscription(String topic) |
int |
NamespacesImpl.getMaxUnackedMessagesPerConsumer(String namespace) |
int |
NamespacesImpl.getMaxUnackedMessagesPerSubscription(String namespace) |
com.google.gson.JsonArray |
BrokerStatsImpl.getMBeans() |
org.apache.pulsar.client.api.Message<byte[]> |
TopicsImpl.getMessageById(String topic,
long ledgerId,
long entryId) |
int |
TopicsImpl.getMessageTTL(String topic) |
Collection<org.apache.pulsar.common.stats.Metrics> |
WorkerImpl.getMetrics() |
com.google.gson.JsonArray |
BrokerStatsImpl.getMetrics() |
String |
NamespacesImpl.getNamespaceAntiAffinityGroup(String namespace) |
org.apache.pulsar.common.policies.data.ResourceQuota |
ResourceQuotasImpl.getNamespaceBundleResourceQuota(String namespace,
String bundle) |
Map<String,org.apache.pulsar.common.policies.data.NamespaceIsolationData> |
ClustersImpl.getNamespaceIsolationPolicies(String cluster) |
org.apache.pulsar.common.policies.data.NamespaceIsolationData |
ClustersImpl.getNamespaceIsolationPolicy(String cluster,
String policyName) |
int |
NamespacesImpl.getNamespaceMessageTTL(String namespace) |
List<String> |
NamespacesImpl.getNamespaceReplicationClusters(String namespace) |
List<String> |
NamespacesImpl.getNamespaces(String tenant) |
List<String> |
NamespacesImpl.getNamespaces(String tenant,
String cluster) |
Long |
NamespacesImpl.getOffloadDeleteLagMs(String namespace) |
org.apache.pulsar.common.policies.data.OffloadPolicies |
NamespacesImpl.getOffloadPolicies(String namespace) |
org.apache.pulsar.common.policies.data.OffloadPolicies |
TopicsImpl.getOffloadPolicies(String topic) |
long |
NamespacesImpl.getOffloadThreshold(String namespace) |
Map<String,org.apache.pulsar.common.policies.data.NamespaceOwnershipStatus> |
BrokersImpl.getOwnedNamespaces(String cluster,
String brokerUrl) |
org.apache.pulsar.common.policies.data.PartitionedTopicInternalStats |
TopicsImpl.getPartitionedInternalStats(String topic) |
org.apache.pulsar.common.policies.data.PartitionedTopicStats |
TopicsImpl.getPartitionedStats(String topic,
boolean perPartition,
boolean getPreciseBacklog,
boolean subscriptionBacklogSize) |
List<String> |
TopicsImpl.getPartitionedTopicList(String namespace) |
org.apache.pulsar.common.partition.PartitionedTopicMetadata |
NonPersistentTopicsImpl.getPartitionedTopicMetadata(String topic) |
org.apache.pulsar.common.partition.PartitionedTopicMetadata |
TopicsImpl.getPartitionedTopicMetadata(String topic) |
Set<String> |
ClustersImpl.getPeerClusterNames(String cluster) |
com.google.gson.JsonObject |
BrokerStatsImpl.getPendingBookieOpsStats() |
Map<String,Set<org.apache.pulsar.common.policies.data.AuthAction>> |
NamespacesImpl.getPermissions(String namespace) |
Map<String,Set<org.apache.pulsar.common.policies.data.AuthAction>> |
TopicsImpl.getPermissions(String topic) |
org.apache.pulsar.common.policies.data.PersistencePolicies |
NamespacesImpl.getPersistence(String namespace) |
org.apache.pulsar.common.policies.data.PersistencePolicies |
TopicsImpl.getPersistence(String topic) |
org.apache.pulsar.common.policies.data.Policies |
NamespacesImpl.getPolicies(String namespace) |
List<String> |
TenantsImpl.getProperties() |
org.apache.pulsar.common.policies.data.TenantInfo |
TenantsImpl.getPropertyAdmin(String tenant) |
org.apache.pulsar.common.policies.data.PublishRate |
NamespacesImpl.getPublishRate(String namespace) |
org.apache.pulsar.common.policies.data.PublishRate |
TopicsImpl.getPublishRate(String topic) |
String |
NamespacesImpl.getReplicationConfigVersion(String namespace) |
org.apache.pulsar.common.policies.data.DispatchRate |
NamespacesImpl.getReplicatorDispatchRate(String namespace) |
org.apache.pulsar.common.policies.data.RetentionPolicies |
NamespacesImpl.getRetention(String namespace) |
org.apache.pulsar.common.policies.data.RetentionPolicies |
TopicsImpl.getRetention(String topic) |
Map<String,String> |
BrokersImpl.getRuntimeConfigurations() |
org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy |
NamespacesImpl.getSchemaAutoUpdateCompatibilityStrategy(String namespace) |
org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy |
NamespacesImpl.getSchemaCompatibilityStrategy(String namespace) |
org.apache.pulsar.common.schema.SchemaInfo |
SchemasImpl.getSchemaInfo(String topic) |
org.apache.pulsar.common.schema.SchemaInfo |
SchemasImpl.getSchemaInfo(String topic,
long version) |
org.apache.pulsar.common.schema.SchemaInfoWithVersion |
SchemasImpl.getSchemaInfoWithVersion(String topic) |
boolean |
NamespacesImpl.getSchemaValidationEnforced(String namespace) |
org.apache.pulsar.common.io.SinkConfig |
SinksImpl.getSink(String tenant,
String namespace,
String sinkName) |
Set<String> |
FunctionsImpl.getSinks() |
org.apache.pulsar.common.policies.data.SinkStatus |
SinksImpl.getSinkStatus(String tenant,
String namespace,
String sinkName) |
org.apache.pulsar.common.policies.data.SinkStatus.SinkInstanceStatus.SinkInstanceStatusData |
SinksImpl.getSinkStatus(String tenant,
String namespace,
String sinkName,
int id) |
org.apache.pulsar.common.io.SourceConfig |
SourcesImpl.getSource(String tenant,
String namespace,
String sourceName) |
Set<String> |
FunctionsImpl.getSources() |
org.apache.pulsar.common.policies.data.SourceStatus |
SourcesImpl.getSourceStatus(String tenant,
String namespace,
String sourceName) |
org.apache.pulsar.common.policies.data.SourceStatus.SourceInstanceStatus.SourceInstanceStatusData |
SourcesImpl.getSourceStatus(String tenant,
String namespace,
String sourceName,
int id) |
org.apache.pulsar.common.policies.data.NonPersistentTopicStats |
NonPersistentTopicsImpl.getStats(String topic) |
org.apache.pulsar.common.policies.data.TopicStats |
TopicsImpl.getStats(String topic,
boolean getPreciseBacklog,
boolean subscriptionBacklogSize) |
org.apache.pulsar.common.policies.data.SubscribeRate |
NamespacesImpl.getSubscribeRate(String namespace) |
org.apache.pulsar.common.policies.data.SubscribeRate |
TopicsImpl.getSubscribeRate(String topic) |
org.apache.pulsar.common.policies.data.DispatchRate |
NamespacesImpl.getSubscriptionDispatchRate(String namespace) |
org.apache.pulsar.common.policies.data.DispatchRate |
TopicsImpl.getSubscriptionDispatchRate(String topic) |
int |
NamespacesImpl.getSubscriptionExpirationTime(String namespace) |
List<String> |
TopicsImpl.getSubscriptions(String topic) |
org.apache.pulsar.common.policies.data.TenantInfo |
TenantsImpl.getTenantInfo(String tenant) |
List<String> |
TenantsImpl.getTenants() |
com.google.gson.JsonObject |
ProxyStatsImpl.getTopics() |
com.google.gson.JsonObject |
BrokerStatsImpl.getTopics() |
List<String> |
NamespacesImpl.getTopics(String namespace) |
String |
BrokersImpl.getVersion() |
Long |
SchemasImpl.getVersionBySchema(String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload) |
Long |
SchemasImpl.getVersionBySchema(String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo) |
void |
TopicsImpl.grantPermission(String topic,
String role,
Set<org.apache.pulsar.common.policies.data.AuthAction> actions) |
void |
NamespacesImpl.grantPermissionOnNamespace(String namespace,
String role,
Set<org.apache.pulsar.common.policies.data.AuthAction> actions) |
void |
NamespacesImpl.grantPermissionOnSubscription(String namespace,
String subscription,
Set<String> roles) |
void |
BrokersImpl.healthcheck() |
List<String> |
SinksImpl.listSinks(String tenant,
String namespace) |
List<String> |
SourcesImpl.listSources(String tenant,
String namespace) |
Map<String,String> |
LookupImpl.lookupPartitionedTopic(String topic) |
String |
LookupImpl.lookupTopic(String topic) |
OffloadProcessStatus |
TopicsImpl.offloadStatus(String topic) |
List<org.apache.pulsar.client.api.Message<byte[]>> |
TopicsImpl.peekMessages(String topic,
String subName,
int numMessages) |
void |
FunctionsImpl.putFunctionState(String tenant,
String namespace,
String function,
org.apache.pulsar.common.functions.FunctionState state) |
void |
SinksImpl.reloadBuiltInSinks() |
void |
SourcesImpl.reloadBuiltInSources() |
void |
NamespacesImpl.removeAutoSubscriptionCreation(String namespace) |
void |
NamespacesImpl.removeAutoTopicCreation(String namespace) |
void |
NamespacesImpl.removeBacklogQuota(String namespace) |
void |
TopicsImpl.removeBacklogQuota(String topic) |
void |
TopicsImpl.removeCompactionThreshold(String topic) |
void |
NamespacesImpl.removeDeduplicationSnapshotInterval(String namespace) |
void |
TopicsImpl.removeDeduplicationSnapshotInterval(String topic) |
void |
TopicsImpl.removeDelayedDeliveryPolicy(String topic) |
void |
TopicsImpl.removeDispatchRate(String topic) |
void |
NamespacesImpl.removeInactiveTopicPolicies(String namespace) |
void |
TopicsImpl.removeInactiveTopicPolicies(String topic) |
void |
TopicsImpl.removeMaxConsumers(String topic) |
void |
TopicsImpl.removeMaxConsumersPerSubscription(String topic) |
void |
TopicsImpl.removeMaxMessageSize(String topic) |
void |
TopicsImpl.removeMaxProducers(String topic) |
void |
NamespacesImpl.removeMaxProducersPerTopic(String namespace) |
void |
NamespacesImpl.removeMaxSubscriptionsPerTopic(String namespace) |
void |
TopicsImpl.removeMaxSubscriptionsPerTopic(String topic) |
void |
TopicsImpl.removeMaxUnackedMessagesOnConsumer(String topic) |
void |
TopicsImpl.removeMaxUnackedMessagesOnSubscription(String topic) |
void |
TopicsImpl.removeMessageTTL(String topic) |
void |
NamespacesImpl.removeNamespaceMessageTTL(String namespace) |
void |
NamespacesImpl.removeOffloadPolicies(String namespace) |
void |
TopicsImpl.removeOffloadPolicies(String topic) |
void |
TopicsImpl.removePersistence(String topic) |
void |
NamespacesImpl.removePublishRate(String namespace) |
void |
TopicsImpl.removePublishRate(String topic) |
void |
TopicsImpl.removeRetention(String topic) |
void |
TopicsImpl.removeSubscribeRate(String topic) |
void |
TopicsImpl.removeSubscriptionDispatchRate(String topic) |
javax.ws.rs.client.Invocation.Builder |
BaseResource.request(javax.ws.rs.client.WebTarget target) |
void |
TopicsImpl.resetCursor(String topic,
String subName,
long timestamp) |
void |
TopicsImpl.resetCursor(String topic,
String subName,
org.apache.pulsar.client.api.MessageId messageId) |
void |
TopicsImpl.resetCursor(String topic,
String subName,
org.apache.pulsar.client.api.MessageId messageId,
boolean isExcluded) |
void |
ResourceQuotasImpl.resetNamespaceBundleResourceQuota(String namespace,
String bundle) |
void |
FunctionsImpl.restartFunction(String tenant,
String namespace,
String functionName) |
void |
FunctionsImpl.restartFunction(String tenant,
String namespace,
String functionName,
int instanceId) |
void |
SinksImpl.restartSink(String tenant,
String namespace,
String functionName) |
void |
SinksImpl.restartSink(String tenant,
String namespace,
String functionName,
int instanceId) |
void |
SourcesImpl.restartSource(String tenant,
String namespace,
String functionName) |
void |
SourcesImpl.restartSource(String tenant,
String namespace,
String functionName,
int instanceId) |
void |
NamespacesImpl.revokePermissionOnSubscription(String namespace,
String subscription,
String role) |
void |
TopicsImpl.revokePermissions(String topic,
String role) |
void |
NamespacesImpl.revokePermissionsOnNamespace(String namespace,
String role) |
void |
NamespacesImpl.setAutoSubscriptionCreation(String namespace,
org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride) |
void |
NamespacesImpl.setAutoTopicCreation(String namespace,
org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride) |
void |
NamespacesImpl.setBacklogQuota(String namespace,
org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota) |
void |
TopicsImpl.setBacklogQuota(String topic,
org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota) |
void |
NamespacesImpl.setBookieAffinityGroup(String namespace,
org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup) |
void |
NamespacesImpl.setCompactionThreshold(String namespace,
long compactionThreshold) |
void |
TopicsImpl.setCompactionThreshold(String topic,
long compactionThreshold) |
void |
TopicsImpl.setDeduplicationSnapshotInterval(String topic,
int interval) |
void |
NamespacesImpl.setDeduplicationSnapshotInterval(String namespace,
Integer interval) |
void |
NamespacesImpl.setDeduplicationStatus(String namespace,
boolean enableDeduplication) |
void |
ResourceQuotasImpl.setDefaultResourceQuota(org.apache.pulsar.common.policies.data.ResourceQuota quota) |
void |
NamespacesImpl.setDelayedDeliveryMessages(String namespace,
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies delayedDeliveryPolicies) |
void |
TopicsImpl.setDelayedDeliveryPolicy(String topic,
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies delayedDeliveryPolicies) |
void |
NamespacesImpl.setDispatchRate(String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate) |
void |
TopicsImpl.setDispatchRate(String topic,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate) |
void |
NamespacesImpl.setEncryptionRequiredStatus(String namespace,
boolean encryptionRequired) |
void |
NamespacesImpl.setInactiveTopicPolicies(String namespace,
org.apache.pulsar.common.policies.data.InactiveTopicPolicies inactiveTopicPolicies) |
void |
TopicsImpl.setInactiveTopicPolicies(String topic,
org.apache.pulsar.common.policies.data.InactiveTopicPolicies inactiveTopicPolicies) |
void |
NamespacesImpl.setIsAllowAutoUpdateSchema(String namespace,
boolean isAllowAutoUpdateSchema) |
void |
TopicsImpl.setMaxConsumers(String topic,
int maxConsumers) |
void |
NamespacesImpl.setMaxConsumersPerSubscription(String namespace,
int maxConsumersPerSubscription) |
void |
TopicsImpl.setMaxConsumersPerSubscription(String topic,
int maxConsumersPerSubscription) |
void |
NamespacesImpl.setMaxConsumersPerTopic(String namespace,
int maxConsumersPerTopic) |
void |
TopicsImpl.setMaxMessageSize(String topic,
int maxMessageSize) |
void |
TopicsImpl.setMaxProducers(String topic,
int maxProducers) |
void |
NamespacesImpl.setMaxProducersPerTopic(String namespace,
int maxProducersPerTopic) |
void |
NamespacesImpl.setMaxSubscriptionsPerTopic(String namespace,
int maxSubscriptionsPerTopic) |
void |
TopicsImpl.setMaxSubscriptionsPerTopic(String topic,
int maxSubscriptionsPerTopic) |
void |
TopicsImpl.setMaxUnackedMessagesOnConsumer(String topic,
int maxNum) |
void |
TopicsImpl.setMaxUnackedMessagesOnSubscription(String topic,
int maxNum) |
void |
NamespacesImpl.setMaxUnackedMessagesPerConsumer(String namespace,
int maxUnackedMessagesPerConsumer) |
void |
NamespacesImpl.setMaxUnackedMessagesPerSubscription(String namespace,
int maxUnackedMessagesPerSubscription) |
void |
TopicsImpl.setMessageTTL(String topic,
int messageTTLInSecond) |
void |
NamespacesImpl.setNamespaceAntiAffinityGroup(String namespace,
String namespaceAntiAffinityGroup) |
void |
ResourceQuotasImpl.setNamespaceBundleResourceQuota(String namespace,
String bundle,
org.apache.pulsar.common.policies.data.ResourceQuota quota) |
void |
NamespacesImpl.setNamespaceMessageTTL(String namespace,
int ttlInSeconds) |
void |
NamespacesImpl.setNamespaceReplicationClusters(String namespace,
Set<String> clusterIds) |
void |
NamespacesImpl.setOffloadDeleteLag(String namespace,
long lag,
TimeUnit unit) |
void |
NamespacesImpl.setOffloadPolicies(String namespace,
org.apache.pulsar.common.policies.data.OffloadPolicies offloadPolicies) |
void |
TopicsImpl.setOffloadPolicies(String topic,
org.apache.pulsar.common.policies.data.OffloadPolicies offloadPolicies) |
void |
NamespacesImpl.setOffloadThreshold(String namespace,
long offloadThreshold) |
void |
NamespacesImpl.setPersistence(String namespace,
org.apache.pulsar.common.policies.data.PersistencePolicies persistence) |
void |
TopicsImpl.setPersistence(String topic,
org.apache.pulsar.common.policies.data.PersistencePolicies persistencePolicies) |
void |
NamespacesImpl.setPublishRate(String namespace,
org.apache.pulsar.common.policies.data.PublishRate publishMsgRate) |
void |
TopicsImpl.setPublishRate(String topic,
org.apache.pulsar.common.policies.data.PublishRate publishRate) |
void |
NamespacesImpl.setReplicatorDispatchRate(String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate) |
void |
NamespacesImpl.setRetention(String namespace,
org.apache.pulsar.common.policies.data.RetentionPolicies retention) |
void |
TopicsImpl.setRetention(String topic,
org.apache.pulsar.common.policies.data.RetentionPolicies retention) |
void |
NamespacesImpl.setSchemaAutoUpdateCompatibilityStrategy(String namespace,
org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy) |
void |
NamespacesImpl.setSchemaCompatibilityStrategy(String namespace,
org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy strategy) |
void |
NamespacesImpl.setSchemaValidationEnforced(String namespace,
boolean schemaValidationEnforced) |
void |
NamespacesImpl.setSubscribeRate(String namespace,
org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate) |
void |
TopicsImpl.setSubscribeRate(String topic,
org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate) |
void |
NamespacesImpl.setSubscriptionAuthMode(String namespace,
org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode) |
void |
NamespacesImpl.setSubscriptionDispatchRate(String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate) |
void |
TopicsImpl.setSubscriptionDispatchRate(String topic,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate) |
void |
NamespacesImpl.setSubscriptionExpirationTime(String namespace,
int expirationTime) |
void |
TopicsImpl.skipAllMessages(String topic,
String subName) |
void |
TopicsImpl.skipMessages(String topic,
String subName,
long numMessages) |
void |
NamespacesImpl.splitNamespaceBundle(String namespace,
String bundle,
boolean unloadSplitBundles,
String splitAlgorithmName) |
void |
FunctionsImpl.startFunction(String tenant,
String namespace,
String functionName) |
void |
FunctionsImpl.startFunction(String tenant,
String namespace,
String functionName,
int instanceId) |
void |
SinksImpl.startSink(String tenant,
String namespace,
String sinkName) |
void |
SinksImpl.startSink(String tenant,
String namespace,
String sinkName,
int instanceId) |
void |
SourcesImpl.startSource(String tenant,
String namespace,
String sourceName) |
void |
SourcesImpl.startSource(String tenant,
String namespace,
String sourceName,
int instanceId) |
void |
FunctionsImpl.stopFunction(String tenant,
String namespace,
String functionName) |
void |
FunctionsImpl.stopFunction(String tenant,
String namespace,
String functionName,
int instanceId) |
void |
SinksImpl.stopSink(String tenant,
String namespace,
String sinkName) |
void |
SinksImpl.stopSink(String tenant,
String namespace,
String sinkName,
int instanceId) |
void |
SourcesImpl.stopSource(String tenant,
String namespace,
String sourceName) |
void |
SourcesImpl.stopSource(String tenant,
String namespace,
String sourceName,
int instanceId) |
org.apache.pulsar.client.api.MessageId |
TopicsImpl.terminateTopic(String topic) |
org.apache.pulsar.common.protocol.schema.IsCompatibilityResponse |
SchemasImpl.testCompatibility(String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload) |
org.apache.pulsar.common.protocol.schema.IsCompatibilityResponse |
SchemasImpl.testCompatibility(String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo) |
void |
TopicsImpl.triggerCompaction(String topic) |
String |
FunctionsImpl.triggerFunction(String tenant,
String namespace,
String functionName,
String topic,
String triggerValue,
String triggerFile) |
void |
TopicsImpl.triggerOffload(String topic,
org.apache.pulsar.client.api.MessageId messageId) |
void |
NamespacesImpl.unload(String namespace) |
void |
NonPersistentTopicsImpl.unload(String topic) |
void |
TopicsImpl.unload(String topic) |
void |
NamespacesImpl.unloadNamespaceBundle(String namespace,
String bundle) |
void |
NamespacesImpl.unsubscribeNamespace(String namespace,
String subscription) |
void |
NamespacesImpl.unsubscribeNamespaceBundle(String namespace,
String bundle,
String subscription) |
void |
BookiesImpl.updateBookieRackInfo(String bookieAddress,
String group,
org.apache.pulsar.common.policies.data.BookieInfo bookieInfo) |
void |
ClustersImpl.updateCluster(String cluster,
org.apache.pulsar.common.policies.data.ClusterData clusterData) |
void |
BrokersImpl.updateDynamicConfiguration(String configName,
String configValue) |
void |
ClustersImpl.updateFailureDomain(String cluster,
String domainName,
org.apache.pulsar.common.policies.data.FailureDomain domain) |
void |
FunctionsImpl.updateFunction(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String fileName) |
void |
FunctionsImpl.updateFunction(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String fileName,
org.apache.pulsar.common.functions.UpdateOptions updateOptions) |
void |
FunctionsImpl.updateFunctionWithUrl(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String pkgUrl) |
void |
FunctionsImpl.updateFunctionWithUrl(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
String pkgUrl,
org.apache.pulsar.common.functions.UpdateOptions updateOptions) |
void |
ClustersImpl.updateNamespaceIsolationPolicy(String cluster,
String policyName,
org.apache.pulsar.common.policies.data.NamespaceIsolationData namespaceIsolationData) |
void |
FunctionsImpl.updateOnWorkerLeader(String tenant,
String namespace,
String function,
byte[] functionMetaData,
boolean delete) |
void |
TopicsImpl.updatePartitionedTopic(String topic,
int numPartitions) |
void |
TopicsImpl.updatePartitionedTopic(String topic,
int numPartitions,
boolean updateLocalTopicOnly) |
void |
ClustersImpl.updatePeerClusterNames(String cluster,
LinkedHashSet<String> peerClusterNames) |
void |
TenantsImpl.updateProperty(String tenant,
org.apache.pulsar.common.policies.data.TenantInfo config) |
void |
SinksImpl.updateSink(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String fileName) |
void |
SinksImpl.updateSink(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String fileName,
org.apache.pulsar.common.functions.UpdateOptions updateOptions) |
void |
SinksImpl.updateSinkWithUrl(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String pkgUrl) |
void |
SinksImpl.updateSinkWithUrl(org.apache.pulsar.common.io.SinkConfig sinkConfig,
String pkgUrl,
org.apache.pulsar.common.functions.UpdateOptions updateOptions) |
void |
SourcesImpl.updateSource(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String fileName) |
void |
SourcesImpl.updateSource(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String fileName,
org.apache.pulsar.common.functions.UpdateOptions updateOptions) |
void |
SourcesImpl.updateSourceWithUrl(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String pkgUrl) |
void |
SourcesImpl.updateSourceWithUrl(org.apache.pulsar.common.io.SourceConfig sourceConfig,
String pkgUrl,
org.apache.pulsar.common.functions.UpdateOptions updateOptions) |
void |
TenantsImpl.updateTenant(String tenant,
org.apache.pulsar.common.policies.data.TenantInfo config) |
void |
FunctionsImpl.uploadFunction(String sourceFile,
String path) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.