void |
Brokers.backlogQuotaCheck() |
Manually trigger backlogQuotaCheck.
|
void |
Namespaces.clearNamespaceBacklog(java.lang.String namespace) |
Clear backlog for all topics on a namespace.
|
void |
Namespaces.clearNamespaceBacklogForSubscription(java.lang.String namespace,
java.lang.String subscription) |
Clear backlog for a given subscription on all topics on a namespace.
|
void |
Namespaces.clearNamespaceBundleBacklog(java.lang.String namespace,
java.lang.String bundle) |
Clear backlog for all topics on a namespace bundle.
|
void |
Namespaces.clearNamespaceBundleBacklogForSubscription(java.lang.String namespace,
java.lang.String bundle,
java.lang.String subscription) |
Clear backlog for a given subscription on all topics on a namespace bundle.
|
void |
Namespaces.clearOffloadDeleteLag(java.lang.String namespace) |
Clear the offload deletion lag for a namespace.
|
void |
Namespaces.clearProperties(java.lang.String namespace) |
Clear all properties of a namespace.
|
LongRunningProcessStatus |
Topics.compactionStatus(java.lang.String topic) |
Check the status of an ongoing compaction for a topic.
|
void |
Clusters.createCluster(java.lang.String cluster,
ClusterData clusterData) |
Create a new cluster.
|
void |
Clusters.createFailureDomain(java.lang.String cluster,
java.lang.String domainName,
FailureDomain domain) |
Create a domain into cluster.
|
void |
Functions.createFunction(FunctionConfig functionConfig,
java.lang.String fileName) |
Create a new function.
|
void |
Functions.createFunctionWithUrl(FunctionConfig functionConfig,
java.lang.String pkgUrl) |
Create a new function with package url.
|
void |
Topics.createMissedPartitions(java.lang.String topic) |
Create missed partitions for partitioned topic.
|
void |
Namespaces.createNamespace(java.lang.String namespace) |
Create a new namespace.
|
void |
Namespaces.createNamespace(java.lang.String namespace,
int numBundles) |
Create a new namespace.
|
void |
Namespaces.createNamespace(java.lang.String namespace,
java.util.Set<java.lang.String> clusters) |
Create a new namespace.
|
void |
Namespaces.createNamespace(java.lang.String namespace,
BundlesData bundlesData) |
Create a new namespace.
|
void |
Namespaces.createNamespace(java.lang.String namespace,
Policies policies) |
Create a new namespace.
|
void |
Clusters.createNamespaceIsolationPolicy(java.lang.String cluster,
java.lang.String policyName,
NamespaceIsolationData namespaceIsolationData) |
Create a namespace isolation policy for a cluster.
|
void |
Topics.createNonPartitionedTopic(java.lang.String topic) |
Create a non-partitioned topic.
|
void |
NonPersistentTopics.createPartitionedTopic(java.lang.String topic,
int numPartitions) |
Deprecated.
Create a partitioned topic.
|
void |
Topics.createPartitionedTopic(java.lang.String topic,
int numPartitions) |
Create a partitioned topic.
|
void |
Properties.createProperty(java.lang.String property,
TenantInfo config) |
Deprecated.
Create a new property.
|
void |
ResourceGroups.createResourceGroup(java.lang.String name,
ResourceGroup resourcegroup) |
Create a new resourcegroup.
|
void |
Schemas.createSchema(java.lang.String topic,
PostSchemaPayload schemaPayload) |
Create a schema for a given topic.
|
void |
Schemas.createSchema(java.lang.String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo) |
Create a schema for a given topic with the provided schema info.
|
void |
Sinks.createSink(SinkConfig sinkConfig,
java.lang.String fileName) |
Create a new sink.
|
void |
Sinks.createSinkWithUrl(SinkConfig sinkConfig,
java.lang.String pkgUrl) |
Create a new sink with package url.
|
void |
Sources.createSource(SourceConfig sourceConfig,
java.lang.String fileName) |
Create a new source.
|
void |
Sources.createSourceWithUrl(SourceConfig sourceConfig,
java.lang.String pkgUrl) |
Create a new source with package url.
|
void |
Topics.createSubscription(java.lang.String topic,
java.lang.String subscriptionName,
org.apache.pulsar.client.api.MessageId messageId) |
Create a new subscription on a topic.
|
void |
Tenants.createTenant(java.lang.String tenant,
TenantInfo config) |
Create a new tenant.
|
void |
Packages.delete(java.lang.String packageName) |
Delete the specified package.
|
void |
Topics.delete(java.lang.String topic) |
Delete a topic.
|
default void |
Topics.delete(java.lang.String topic,
boolean force) |
|
void |
Topics.delete(java.lang.String topic,
boolean force,
boolean deleteSchema) |
Delete a topic.
|
void |
Namespaces.deleteBookieAffinityGroup(java.lang.String namespace) |
Delete bookie affinity group configured for a namespace.
|
void |
Bookies.deleteBookieRackInfo(java.lang.String bookieAddress) |
Remove rack placement information for a specific bookie in the cluster.
|
void |
Clusters.deleteCluster(java.lang.String cluster) |
Delete an existing cluster.
|
void |
Brokers.deleteDynamicConfiguration(java.lang.String configName) |
It deletes dynamic configuration value into ZooKeeper.
|
void |
Clusters.deleteFailureDomain(java.lang.String cluster,
java.lang.String domainName) |
Delete a domain in cluster.
|
void |
Functions.deleteFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function) |
Delete an existing function.
|
void |
Namespaces.deleteNamespace(java.lang.String namespace) |
Delete an existing namespace.
|
void |
Namespaces.deleteNamespace(java.lang.String namespace,
boolean force) |
Delete an existing namespace.
|
void |
Namespaces.deleteNamespaceAntiAffinityGroup(java.lang.String namespace) |
Delete anti-affinity group name for a namespace.
|
void |
Namespaces.deleteNamespaceBundle(java.lang.String namespace,
java.lang.String bundleRange) |
Delete an existing bundle in a namespace.
|
void |
Namespaces.deleteNamespaceBundle(java.lang.String namespace,
java.lang.String bundleRange,
boolean force) |
Delete an existing bundle in a namespace.
|
void |
Clusters.deleteNamespaceIsolationPolicy(java.lang.String cluster,
java.lang.String policyName) |
Delete a namespace isolation policy for a cluster.
|
void |
Topics.deletePartitionedTopic(java.lang.String topic) |
Delete a partitioned topic.
|
default void |
Topics.deletePartitionedTopic(java.lang.String topic,
boolean force) |
|
void |
Topics.deletePartitionedTopic(java.lang.String topic,
boolean force,
boolean deleteSchema) |
Delete a partitioned topic.
|
void |
Properties.deleteProperty(java.lang.String property) |
Deprecated.
Delete an existing property.
|
void |
ResourceGroups.deleteResourceGroup(java.lang.String resourcegroup) |
Delete an existing resourcegroup.
|
void |
Schemas.deleteSchema(java.lang.String topic) |
Delete the schema associated with a given topic.
|
void |
Sinks.deleteSink(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink) |
Delete an existing sink.
|
void |
Sources.deleteSource(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source) |
Delete an existing source.
|
void |
Topics.deleteSubscription(java.lang.String topic,
java.lang.String subName) |
Delete a subscription.
|
void |
Topics.deleteSubscription(java.lang.String topic,
java.lang.String subName,
boolean force) |
Delete a subscription.
|
void |
Tenants.deleteTenant(java.lang.String tenant) |
Delete an existing tenant.
|
void |
Tenants.deleteTenant(java.lang.String tenant,
boolean force) |
Delete an existing tenant.
|
void |
Topics.disableDeduplication(java.lang.String topic) |
Deprecated.
|
void |
Packages.download(java.lang.String packageName,
java.lang.String path) |
Download a package from the package management service.
|
void |
Functions.downloadFunction(java.lang.String destinationFile,
java.lang.String path) |
Download Function Code.
|
void |
Functions.downloadFunction(java.lang.String destinationFile,
java.lang.String tenant,
java.lang.String namespace,
java.lang.String function) |
Download Function Code.
|
void |
Topics.enableDeduplication(java.lang.String topic,
boolean enabled) |
Deprecated.
|
org.apache.pulsar.client.api.Message<byte[]> |
Topics.examineMessage(java.lang.String topic,
java.lang.String initialPosition,
long messagePosition) |
Examine a specific message on a topic by position relative to the earliest or the latest message.
|
java.util.concurrent.CompletableFuture<org.apache.pulsar.client.api.Message<byte[]>> |
Topics.examineMessageAsync(java.lang.String topic,
java.lang.String initialPosition,
long messagePosition) |
Examine a specific message on a topic by position relative to the earliest or the latest message.
|
void |
Topics.expireMessages(java.lang.String topic,
java.lang.String subscriptionName,
long expireTimeInSeconds) |
Expire all messages older than given N (expireTimeInSeconds) seconds for a given subscription.
|
void |
Topics.expireMessages(java.lang.String topic,
java.lang.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(java.lang.String topic,
long expireTimeInSeconds) |
Expire all messages older than given N seconds for all subscriptions of the persistent-topic.
|
java.util.List<java.lang.String> |
Brokers.getActiveBrokers(java.lang.String cluster) |
Get the list of active brokers in the cluster.
|
java.util.Map<java.lang.String,java.lang.String> |
Brokers.getAllDynamicConfigurations() |
Get values of all overridden dynamic-configs.
|
AllocatorStats |
BrokerStats.getAllocatorStats(java.lang.String allocatorName) |
Get the stats for the Netty allocator.
|
java.util.List<org.apache.pulsar.common.schema.SchemaInfo> |
Schemas.getAllSchemas(java.lang.String topic) |
Get all version schemas topic.
|
java.util.List<java.lang.String> |
Namespaces.getAntiAffinityNamespaces(java.lang.String tenant,
java.lang.String cluster,
java.lang.String namespaceAntiAffinityGroup) |
Get all namespaces that grouped with given anti-affinity group.
|
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> |
Worker.getAssignments() |
Get the function assignment among the cluster.
|
java.util.Map<BacklogQuota.BacklogQuotaType,BacklogQuota> |
Namespaces.getBacklogQuotaMap(java.lang.String namespace) |
Get backlog quota map on a namespace.
|
java.util.Map<BacklogQuota.BacklogQuotaType,BacklogQuota> |
Topics.getBacklogQuotaMap(java.lang.String topic) |
Get backlog quota map for a topic.
|
java.util.Map<BacklogQuota.BacklogQuotaType,BacklogQuota> |
Topics.getBacklogQuotaMap(java.lang.String topic,
boolean applied) |
Get applied backlog quota map for a topic.
|
BookieAffinityGroupData |
Namespaces.getBookieAffinityGroup(java.lang.String namespace) |
Get bookie affinity group configured for a namespace.
|
BookieInfo |
Bookies.getBookieRackInfo(java.lang.String bookieAddress) |
Gets the rack placement information for a specific bookie in the cluster.
|
BookiesClusterInfo |
Bookies.getBookies() |
Gets discovery information for all the bookies in the cluster.
|
BookiesRackConfiguration |
Bookies.getBookiesRackInfo() |
Gets the rack placement information for all the bookies in the cluster.
|
java.util.List<BrokerNamespaceIsolationData> |
Clusters.getBrokersWithNamespaceIsolationPolicy(java.lang.String cluster) |
Returns list of active brokers with namespace-isolation policies attached to it.
|
BrokerNamespaceIsolationData |
Clusters.getBrokerWithNamespaceIsolationPolicy(java.lang.String cluster,
java.lang.String broker) |
Returns active broker with namespace-isolation policies attached to it.
|
java.util.List<ConnectorDefinition> |
Sinks.getBuiltInSinks() |
Fetches a list of supported Pulsar IO sinks currently running in cluster mode.
|
java.util.List<ConnectorDefinition> |
Sources.getBuiltInSources() |
Fetches a list of supported Pulsar IO sources currently running in cluster mode.
|
java.lang.String |
Lookup.getBundleRange(java.lang.String topic) |
Get a bundle range of a topic.
|
BundlesData |
Namespaces.getBundles(java.lang.String namespace) |
Get the list of bundles.
|
ClusterData |
Clusters.getCluster(java.lang.String cluster) |
Get the configuration data for the specified cluster.
|
java.util.List<WorkerInfo> |
Worker.getCluster() |
Get List of all workers belonging to this cluster.
|
WorkerInfo |
Worker.getClusterLeader() |
Get the worker who is the leader of the cluster.
|
java.util.List<java.lang.String> |
Clusters.getClusters() |
Get the list of clusters.
|
java.lang.Long |
Namespaces.getCompactionThreshold(java.lang.String namespace) |
Get the compactionThreshold for a namespace.
|
java.lang.Long |
Topics.getCompactionThreshold(java.lang.String topic) |
Get the compactionThreshold for a topic.
|
java.lang.Long |
Topics.getCompactionThreshold(java.lang.String topic,
boolean applied) |
Get the compactionThreshold for a topic.
|
java.lang.String |
ProxyStats.getConnections() |
Returns Connections metrics.
|
java.util.List<ConnectorDefinition> |
Functions.getConnectorsList() |
Deprecated.
|
TransactionCoordinatorInternalStats |
Transactions.getCoordinatorInternalStats(int coordinatorId,
boolean metadata) |
Get transaction coordinator internal stats.
|
java.util.Map<java.lang.Integer,TransactionCoordinatorStats> |
Transactions.getCoordinatorStats() |
Get transaction metadataStore stats.
|
TransactionCoordinatorStats |
Transactions.getCoordinatorStatsById(int coordinatorId) |
Get transaction metadataStore stats.
|
java.lang.Boolean |
Topics.getDeduplicationEnabled(java.lang.String topic) |
Deprecated.
|
java.lang.Integer |
Namespaces.getDeduplicationSnapshotInterval(java.lang.String namespace) |
Get the deduplicationSnapshotInterval for a namespace.
|
java.lang.Integer |
Topics.getDeduplicationSnapshotInterval(java.lang.String topic) |
Get the deduplication snapshot interval for specified topic.
|
java.lang.Boolean |
Namespaces.getDeduplicationStatus(java.lang.String namespace) |
Get the deduplication status for all topics within a namespace .
|
java.lang.Boolean |
Topics.getDeduplicationStatus(java.lang.String topic) |
get deduplication enabled of a topic.
|
java.lang.Boolean |
Topics.getDeduplicationStatus(java.lang.String topic,
boolean applied) |
get applied deduplication enabled of a topic.
|
ResourceQuota |
ResourceQuotas.getDefaultResourceQuota() |
Get default resource quota for new resource bundles.
|
DelayedDeliveryPolicies |
Namespaces.getDelayedDelivery(java.lang.String namespace) |
Get the delayed delivery messages for all topics within a namespace.
|
DelayedDeliveryPolicies |
Topics.getDelayedDeliveryPolicy(java.lang.String topic) |
Get the delayed delivery policy for a specified topic.
|
DelayedDeliveryPolicies |
Topics.getDelayedDeliveryPolicy(java.lang.String topic,
boolean applied) |
Get the delayed delivery policy applied for a specified topic.
|
DispatchRate |
Namespaces.getDispatchRate(java.lang.String namespace) |
Get message-dispatch-rate (topics under this namespace can dispatch this many messages per second).
|
DispatchRate |
Topics.getDispatchRate(java.lang.String topic) |
Get message-dispatch-rate (topic can dispatch this many messages per second).
|
DispatchRate |
Topics.getDispatchRate(java.lang.String topic,
boolean applied) |
Get applied message-dispatch-rate (topic can dispatch this many messages per second).
|
java.util.List<java.lang.String> |
Brokers.getDynamicConfigurationNames() |
Get list of updatable configuration name.
|
FailureDomain |
Clusters.getFailureDomain(java.lang.String cluster,
java.lang.String domainName) |
Get the domain registered into a cluster.
|
java.util.Map<java.lang.String,FailureDomain> |
Clusters.getFailureDomains(java.lang.String cluster) |
Get all registered domains in cluster.
|
FunctionConfig |
Functions.getFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function) |
Get the configuration for the specified function.
|
java.util.List<java.lang.String> |
Functions.getFunctions(java.lang.String tenant,
java.lang.String namespace) |
Get the list of functions.
|
java.util.List<WorkerFunctionInstanceStats> |
Worker.getFunctionsStats() |
Get all functions stats on a worker.
|
FunctionState |
Functions.getFunctionState(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function,
java.lang.String key) |
Fetch the current state associated with a Pulsar Function.
|
FunctionStats |
Functions.getFunctionStats(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function) |
Gets the current stats of a function.
|
FunctionInstanceStatsData |
Functions.getFunctionStats(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function,
int id) |
Gets the current stats of a function instance.
|
FunctionStatus |
Functions.getFunctionStatus(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function) |
Gets the current status of a function.
|
FunctionStatus.FunctionInstanceStatus.FunctionInstanceStatusData |
Functions.getFunctionStatus(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function,
int id) |
Gets the current status of a function instance.
|
InactiveTopicPolicies |
Namespaces.getInactiveTopicPolicies(java.lang.String namespace) |
Get the inactive deletion strategy for all topics within a namespace synchronously.
|
InactiveTopicPolicies |
Topics.getInactiveTopicPolicies(java.lang.String topic) |
get inactive topic policies of a topic.
|
InactiveTopicPolicies |
Topics.getInactiveTopicPolicies(java.lang.String topic,
boolean applied) |
Get inactive topic policies applied for a topic.
|
InternalConfigurationData |
Brokers.getInternalConfigurationData() |
Get the internal configuration data.
|
java.lang.String |
Topics.getInternalInfo(java.lang.String topic) |
Get a JSON representation of the topic metadata stored in ZooKeeper.
|
PersistentTopicInternalStats |
NonPersistentTopics.getInternalStats(java.lang.String topic) |
Deprecated.
Get the internal stats for the topic.
|
PersistentTopicInternalStats |
Topics.getInternalStats(java.lang.String topic) |
Get the internal stats for the topic.
|
PersistentTopicInternalStats |
Topics.getInternalStats(java.lang.String topic,
boolean metadata) |
Get the internal stats for the topic.
|
boolean |
Namespaces.getIsAllowAutoUpdateSchema(java.lang.String namespace) |
Get whether allow auto update schema.
|
org.apache.pulsar.client.api.MessageId |
Topics.getLastMessageId(java.lang.String topic) |
Get the last commit message Id of a topic.
|
BrokerInfo |
Brokers.getLeaderBroker() |
Get the information of the leader broker.
|
java.util.concurrent.CompletableFuture<BrokerInfo> |
Brokers.getLeaderBrokerAsync() |
Get the service url of the leader broker asynchronously.
|
java.util.List<java.lang.String> |
NonPersistentTopics.getList(java.lang.String namespace) |
Deprecated.
Get list of topics exist into given namespace.
|
java.util.List<java.lang.String> |
Topics.getList(java.lang.String namespace) |
Get the both persistent and non-persistent topics under a namespace.
|
java.util.List<java.lang.String> |
Topics.getList(java.lang.String namespace,
TopicDomain topicDomain) |
Get the list of topics under a namespace.
|
java.util.List<java.lang.String> |
NonPersistentTopics.getListInBundle(java.lang.String namespace,
java.lang.String bundleRange) |
Deprecated.
Get list of topics exist into given bundle.
|
java.util.List<java.lang.String> |
Topics.getListInBundle(java.lang.String namespace,
java.lang.String bundleRange) |
Get list of topics exist into given bundle.
|
LoadManagerReport |
BrokerStats.getLoadReport() |
Get load for this broker.
|
java.lang.Integer |
Topics.getMaxConsumers(java.lang.String topic) |
Get the max number of consumer for specified topic.
|
java.lang.Integer |
Topics.getMaxConsumers(java.lang.String topic,
boolean applied) |
Get the max number of consumer applied for specified topic.
|
java.lang.Integer |
Namespaces.getMaxConsumersPerSubscription(java.lang.String namespace) |
Get the maxConsumersPerSubscription for a namespace.
|
java.lang.Integer |
Topics.getMaxConsumersPerSubscription(java.lang.String topic) |
Get the maxConsumersPerSubscription for a topic.
|
java.lang.Integer |
Namespaces.getMaxConsumersPerTopic(java.lang.String namespace) |
Get the maxProducersPerTopic for a namespace.
|
java.lang.Integer |
Topics.getMaxMessageSize(java.lang.String topic) |
Get the max message size for specified topic.
|
java.lang.Integer |
Topics.getMaxProducers(java.lang.String topic) |
Get the max number of producer for specified topic.
|
java.lang.Integer |
Topics.getMaxProducers(java.lang.String topic,
boolean applied) |
Get the max number of producer applied for specified topic.
|
java.lang.Integer |
Namespaces.getMaxProducersPerTopic(java.lang.String namespace) |
Get the maxProducersPerTopic for a namespace.
|
java.lang.Integer |
Namespaces.getMaxSubscriptionsPerTopic(java.lang.String namespace) |
Get the maxSubscriptionsPerTopic for a namespace.
|
java.lang.Integer |
Topics.getMaxSubscriptionsPerTopic(java.lang.String topic) |
Get the max number of subscriptions for specified topic.
|
int |
Namespaces.getMaxTopicsPerNamespace(java.lang.String namespace) |
Get maxTopicsPerNamespace for a namespace.
|
java.lang.Integer |
Topics.getMaxUnackedMessagesOnConsumer(java.lang.String topic) |
get max unacked messages on consumer of a topic.
|
java.lang.Integer |
Topics.getMaxUnackedMessagesOnConsumer(java.lang.String topic,
boolean applied) |
get applied max unacked messages on consumer of a topic.
|
java.lang.Integer |
Topics.getMaxUnackedMessagesOnSubscription(java.lang.String topic) |
get max unacked messages on subscription of a topic.
|
java.lang.Integer |
Topics.getMaxUnackedMessagesOnSubscription(java.lang.String topic,
boolean applied) |
get max unacked messages on subscription of a topic.
|
java.lang.Integer |
Namespaces.getMaxUnackedMessagesPerConsumer(java.lang.String namespace) |
Get the maxUnackedMessagesPerConsumer for a namespace.
|
java.lang.Integer |
Namespaces.getMaxUnackedMessagesPerSubscription(java.lang.String namespace) |
Get the maxUnackedMessagesPerSubscription for a namespace.
|
java.lang.String |
BrokerStats.getMBeans() |
Requests JSON string server mbean dump.
|
org.apache.pulsar.client.api.Message<byte[]> |
Topics.getMessageById(java.lang.String topic,
long ledgerId,
long entryId) |
Get a message by its messageId via a topic subscription.
|
java.lang.Integer |
Topics.getMessageTTL(java.lang.String topic) |
Get message TTL for a topic.
|
java.lang.Integer |
Topics.getMessageTTL(java.lang.String topic,
boolean applied) |
Get message TTL applied for a topic.
|
PackageMetadata |
Packages.getMetadata(java.lang.String packageName) |
Get a package metadata information.
|
java.lang.String |
BrokerStats.getMetrics() |
Returns Monitoring metrics.
|
java.util.Collection<Metrics> |
Worker.getMetrics() |
Get worker metrics.
|
java.lang.String |
Namespaces.getNamespaceAntiAffinityGroup(java.lang.String namespace) |
Get anti-affinity group name for a namespace.
|
ResourceQuota |
ResourceQuotas.getNamespaceBundleResourceQuota(java.lang.String namespace,
java.lang.String bundle) |
Get resource quota of a namespace bundle.
|
java.util.Map<java.lang.String,NamespaceIsolationData> |
Clusters.getNamespaceIsolationPolicies(java.lang.String cluster) |
Get the namespace isolation policies of a cluster.
|
NamespaceIsolationData |
Clusters.getNamespaceIsolationPolicy(java.lang.String cluster,
java.lang.String policyName) |
Get a single namespace isolation policy for a cluster.
|
java.lang.Integer |
Namespaces.getNamespaceMessageTTL(java.lang.String namespace) |
Get the message TTL for a namespace.
|
java.util.List<java.lang.String> |
Namespaces.getNamespaceReplicationClusters(java.lang.String namespace) |
Get the replication clusters for a namespace.
|
java.lang.String |
Namespaces.getNamespaceResourceGroup(java.lang.String namespace) |
Get the ResourceGroup for a namespace.
|
java.util.List<java.lang.String> |
Namespaces.getNamespaces(java.lang.String tenant) |
Get the list of namespaces.
|
java.util.List<java.lang.String> |
Namespaces.getNamespaces(java.lang.String tenant,
java.lang.String cluster) |
Deprecated.
|
java.lang.Long |
Namespaces.getOffloadDeleteLagMs(java.lang.String namespace) |
Get the offload deletion lag for a namespace, in milliseconds.
|
OffloadPolicies |
Namespaces.getOffloadPolicies(java.lang.String namespace) |
Get the offload configuration for a namespace.
|
OffloadPolicies |
Topics.getOffloadPolicies(java.lang.String topic) |
get offload policies of a topic.
|
OffloadPolicies |
Topics.getOffloadPolicies(java.lang.String topic,
boolean applied) |
get applied offload policies of a topic.
|
long |
Namespaces.getOffloadThreshold(java.lang.String namespace) |
Get the offloadThreshold for a namespace.
|
java.util.Map<java.lang.String,NamespaceOwnershipStatus> |
Brokers.getOwnedNamespaces(java.lang.String cluster,
java.lang.String brokerUrl) |
Get the map of owned namespaces and their status from a single broker in the cluster.
|
PartitionedTopicInternalStats |
Topics.getPartitionedInternalStats(java.lang.String topic) |
Get the stats for the partitioned topic.
|
default PartitionedTopicStats |
Topics.getPartitionedStats(java.lang.String topic,
boolean perPartition) |
|
PartitionedTopicStats |
Topics.getPartitionedStats(java.lang.String topic,
boolean perPartition,
boolean getPreciseBacklog,
boolean subscriptionBacklogSize) |
Get the stats for the partitioned topic
|
java.util.List<java.lang.String> |
Topics.getPartitionedTopicList(java.lang.String namespace) |
Get the list of partitioned topics under a namespace.
|
PartitionedTopicMetadata |
NonPersistentTopics.getPartitionedTopicMetadata(java.lang.String topic) |
Deprecated.
Get metadata of a partitioned topic.
|
PartitionedTopicMetadata |
Topics.getPartitionedTopicMetadata(java.lang.String topic) |
Get metadata of a partitioned topic.
|
java.util.Set<java.lang.String> |
Clusters.getPeerClusterNames(java.lang.String cluster) |
Get peer-cluster names.
|
TransactionPendingAckInternalStats |
Transactions.getPendingAckInternalStats(java.lang.String topic,
java.lang.String subName,
boolean metadata) |
Get pending ack internal stats.
|
TransactionPendingAckStats |
Transactions.getPendingAckStats(java.lang.String topic,
java.lang.String subName) |
Get transaction pending ack stats.
|
java.lang.String |
BrokerStats.getPendingBookieOpsStats() |
Get pending bookie client op stats by namespace.
|
java.util.Map<java.lang.String,java.util.Set<AuthAction>> |
Namespaces.getPermissions(java.lang.String namespace) |
Get permissions on a namespace.
|
java.util.Map<java.lang.String,java.util.Set<AuthAction>> |
Topics.getPermissions(java.lang.String topic) |
Get permissions on a topic.
|
PersistencePolicies |
Namespaces.getPersistence(java.lang.String namespace) |
Get the persistence configuration for a namespace.
|
PersistencePolicies |
Topics.getPersistence(java.lang.String topic) |
Get the configuration of persistence policies for specified topic.
|
PersistencePolicies |
Topics.getPersistence(java.lang.String topic,
boolean applied) |
Get the applied configuration of persistence policies for specified topic.
|
Policies |
Namespaces.getPolicies(java.lang.String namespace) |
Get policies for a namespace.
|
java.util.Map<java.lang.String,java.lang.String> |
Namespaces.getProperties(java.lang.String namespace) |
Get all properties of a namespace.
|
java.util.List<java.lang.String> |
Properties.getProperties() |
Deprecated.
Get the list of properties.
|
java.lang.String |
Namespaces.getProperty(java.lang.String namespace,
java.lang.String key) |
Get property value for a given key.
|
TenantInfo |
Properties.getPropertyAdmin(java.lang.String property) |
Deprecated.
Get the config of the property.
|
PublishRate |
Namespaces.getPublishRate(java.lang.String namespace) |
Get message-publish-rate (topics under this namespace can publish this many messages per second).
|
PublishRate |
Topics.getPublishRate(java.lang.String topic) |
Get message-publish-rate (topics can publish this many messages per second).
|
java.lang.String |
Namespaces.getReplicationConfigVersion(java.lang.String namespace) |
Get the replication configuration version for a given namespace.
|
DispatchRate |
Namespaces.getReplicatorDispatchRate(java.lang.String namespace) |
Get replicator-message-dispatch-rate.
|
DispatchRate |
Topics.getReplicatorDispatchRate(java.lang.String topic) |
Get replicatorDispatchRate for the topic.
|
DispatchRate |
Topics.getReplicatorDispatchRate(java.lang.String topic,
boolean applied) |
Get applied replicatorDispatchRate for the topic.
|
ResourceGroup |
ResourceGroups.getResourceGroup(java.lang.String resourcegroup) |
Get configuration for a resourcegroup.
|
java.util.List<java.lang.String> |
ResourceGroups.getResourceGroups() |
Get the list of resourcegroups.
|
RetentionPolicies |
Namespaces.getRetention(java.lang.String namespace) |
Get the retention configuration for a namespace.
|
RetentionPolicies |
Topics.getRetention(java.lang.String topic) |
Get the retention configuration for a topic.
|
RetentionPolicies |
Topics.getRetention(java.lang.String topic,
boolean applied) |
Get the applied retention configuration for a topic.
|
java.util.Map<java.lang.String,java.lang.String> |
Brokers.getRuntimeConfigurations() |
Get values of runtime configuration.
|
SchemaAutoUpdateCompatibilityStrategy |
Namespaces.getSchemaAutoUpdateCompatibilityStrategy(java.lang.String namespace) |
Deprecated.
|
SchemaCompatibilityStrategy |
Namespaces.getSchemaCompatibilityStrategy(java.lang.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(java.lang.String topic) |
Retrieve the latest schema of a topic.
|
org.apache.pulsar.common.schema.SchemaInfo |
Schemas.getSchemaInfo(java.lang.String topic,
long version) |
Retrieve the schema of a topic at a given version.
|
org.apache.pulsar.common.schema.SchemaInfoWithVersion |
Schemas.getSchemaInfoWithVersion(java.lang.String topic) |
Retrieve the latest schema with verison of a topic.
|
boolean |
Namespaces.getSchemaValidationEnforced(java.lang.String namespace) |
Get schema validation enforced for namespace.
|
SinkConfig |
Sinks.getSink(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink) |
Get the configuration for the specified sink.
|
java.util.Set<java.lang.String> |
Functions.getSinks() |
Deprecated.
|
SinkStatus |
Sinks.getSinkStatus(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink) |
Gets the current status of a sink.
|
SinkStatus.SinkInstanceStatus.SinkInstanceStatusData |
Sinks.getSinkStatus(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink,
int id) |
Gets the current status of a sink instance.
|
java.util.Map<java.lang.String,TransactionMetadata> |
Transactions.getSlowTransactions(long timeout,
java.util.concurrent.TimeUnit timeUnit) |
Get slow transactions.
|
java.util.Map<java.lang.String,TransactionMetadata> |
Transactions.getSlowTransactionsByCoordinatorId(java.lang.Integer coordinatorId,
long timeout,
java.util.concurrent.TimeUnit timeUnit) |
Get slow transactions by coordinator id.
|
SourceConfig |
Sources.getSource(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source) |
Get the configuration for the specified source.
|
java.util.Set<java.lang.String> |
Functions.getSources() |
Deprecated.
|
SourceStatus |
Sources.getSourceStatus(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source) |
Gets the current status of a source.
|
SourceStatus.SourceInstanceStatus.SourceInstanceStatusData |
Sources.getSourceStatus(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source,
int id) |
Gets the current status of a source instance.
|
NonPersistentTopicStats |
NonPersistentTopics.getStats(java.lang.String topic) |
Deprecated.
Get the stats for the topic.
|
default TopicStats |
Topics.getStats(java.lang.String topic) |
|
default TopicStats |
Topics.getStats(java.lang.String topic,
boolean getPreciseBacklog) |
|
TopicStats |
Topics.getStats(java.lang.String topic,
boolean getPreciseBacklog,
boolean subscriptionBacklogSize) |
Get the stats for the topic.
|
SubscribeRate |
Namespaces.getSubscribeRate(java.lang.String namespace) |
Get namespace-subscribe-rate (topics under this namespace allow subscribe times per consumer in a period).
|
SubscribeRate |
Topics.getSubscribeRate(java.lang.String topic) |
Get topic-subscribe-rate (topics allow subscribe times per consumer in a period).
|
SubscribeRate |
Topics.getSubscribeRate(java.lang.String topic,
boolean applied) |
Get applied topic-subscribe-rate (topics allow subscribe times per consumer in a period).
|
DispatchRate |
Namespaces.getSubscriptionDispatchRate(java.lang.String namespace) |
Get subscription-message-dispatch-rate.
|
DispatchRate |
Topics.getSubscriptionDispatchRate(java.lang.String topic) |
Get subscription-message-dispatch-rate for the topic.
|
DispatchRate |
Topics.getSubscriptionDispatchRate(java.lang.String namespace,
boolean applied) |
Get applied subscription-message-dispatch-rate.
|
int |
Namespaces.getSubscriptionExpirationTime(java.lang.String namespace) |
Get the subscription expiration time for a namespace.
|
java.util.List<java.lang.String> |
Topics.getSubscriptions(java.lang.String topic) |
Get the list of subscriptions.
|
java.util.Set<org.apache.pulsar.client.api.SubscriptionType> |
Namespaces.getSubscriptionTypesEnabled(java.lang.String namespace) |
Get the subscriptionTypesEnabled policy for a given namespace, overriding broker settings.
|
java.util.Set<org.apache.pulsar.client.api.SubscriptionType> |
Topics.getSubscriptionTypesEnabled(java.lang.String topic) |
Get is enable sub types.
|
TenantInfo |
Tenants.getTenantInfo(java.lang.String tenant) |
Get the config of the tenant.
|
java.util.List<java.lang.String> |
Tenants.getTenants() |
Get the list of tenants.
|
java.lang.String |
BrokerStats.getTopics() |
Returns JSON string topics stats.
|
java.util.List<java.lang.String> |
Namespaces.getTopics(java.lang.String namespace) |
Get the list of topics.
|
java.lang.String |
ProxyStats.getTopics() |
Returns Topics metrics.
|
TransactionBufferStats |
Transactions.getTransactionBufferStats(java.lang.String topic) |
Get transaction buffer stats.
|
TransactionInBufferStats |
Transactions.getTransactionInBufferStats(org.apache.pulsar.client.api.transaction.TxnID txnID,
java.lang.String topic) |
Get transaction in buffer stats.
|
TransactionInPendingAckStats |
Transactions.getTransactionInPendingAckStats(org.apache.pulsar.client.api.transaction.TxnID txnID,
java.lang.String topic,
java.lang.String subName) |
Get transaction in pending ack stats.
|
TransactionMetadata |
Transactions.getTransactionMetadata(org.apache.pulsar.client.api.transaction.TxnID txnID) |
Get transaction metadata.
|
java.lang.String |
Brokers.getVersion() |
Get version of broker.
|
java.lang.Long |
Schemas.getVersionBySchema(java.lang.String topic,
PostSchemaPayload schemaPayload) |
Find schema version topic.
|
java.lang.Long |
Schemas.getVersionBySchema(java.lang.String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo) |
Find schema version topic.
|
void |
Topics.grantPermission(java.lang.String topic,
java.lang.String role,
java.util.Set<AuthAction> actions) |
Grant permission on a topic.
|
void |
Namespaces.grantPermissionOnNamespace(java.lang.String namespace,
java.lang.String role,
java.util.Set<AuthAction> actions) |
Grant permission on a namespace.
|
void |
Namespaces.grantPermissionOnSubscription(java.lang.String namespace,
java.lang.String subscription,
java.util.Set<java.lang.String> roles) |
Grant permission to role to access subscription's admin-api.
|
void |
Brokers.healthcheck() |
Run a healthcheck on the broker.
|
java.util.List<java.lang.String> |
Packages.listPackages(java.lang.String type,
java.lang.String namespace) |
List all the packages with the given type in a namespace.
|
java.util.List<java.lang.String> |
Packages.listPackageVersions(java.lang.String packageName) |
List all the versions of a package.
|
java.util.List<java.lang.String> |
Sinks.listSinks(java.lang.String tenant,
java.lang.String namespace) |
Get the list of sinks.
|
java.util.List<java.lang.String> |
Sources.listSources(java.lang.String tenant,
java.lang.String namespace) |
Get the list of sources.
|
java.util.Map<java.lang.String,java.lang.String> |
Lookup.lookupPartitionedTopic(java.lang.String topic) |
Lookup a partitioned topic.
|
java.lang.String |
Lookup.lookupTopic(java.lang.String topic) |
Lookup a topic.
|
OffloadProcessStatus |
Topics.offloadStatus(java.lang.String topic) |
Check the status of an ongoing offloading operation for a topic.
|
java.util.List<org.apache.pulsar.client.api.Message<byte[]>> |
Topics.peekMessages(java.lang.String topic,
java.lang.String subName,
int numMessages) |
Peek messages from a topic subscription.
|
void |
Functions.putFunctionState(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function,
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(java.lang.String namespace) |
Removes the autoSubscriptionCreation policy for a given namespace.
|
void |
Namespaces.removeAutoTopicCreation(java.lang.String namespace) |
Removes the autoTopicCreation policy for a given namespace.
|
void |
Namespaces.removeBacklogQuota(java.lang.String namespace) |
Remove a backlog quota policy from a namespace.
|
void |
Topics.removeBacklogQuota(java.lang.String topic) |
Remove a backlog quota policy from a topic.
|
void |
Namespaces.removeCompactionThreshold(java.lang.String namespace) |
Delete the compactionThreshold for a namespace.
|
void |
Topics.removeCompactionThreshold(java.lang.String topic) |
Remove the compactionThreshold for a topic.
|
void |
Namespaces.removeDeduplicationSnapshotInterval(java.lang.String namespace) |
Remove the deduplicationSnapshotInterval for a namespace.
|
void |
Topics.removeDeduplicationSnapshotInterval(java.lang.String topic) |
Remove the deduplication snapshot interval for specified topic.
|
void |
Namespaces.removeDeduplicationStatus(java.lang.String namespace) |
Remove the deduplication status for all topics within a namespace.
|
void |
Topics.removeDeduplicationStatus(java.lang.String topic) |
remove deduplication enabled of a topic.
|
void |
Namespaces.removeDelayedDeliveryMessages(java.lang.String namespace) |
Remove the delayed delivery messages for all topics within a namespace.
|
void |
Topics.removeDelayedDeliveryPolicy(java.lang.String topic) |
Remove the delayed delivery policy for a specified topic.
|
void |
Namespaces.removeDispatchRate(java.lang.String namespace) |
Remove message-dispatch-rate.
|
void |
Topics.removeDispatchRate(java.lang.String topic) |
Remove message-dispatch-rate.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
Topics.removeDispatchRateAsync(java.lang.String topic) |
Remove message-dispatch-rate asynchronously.
|
void |
Namespaces.removeInactiveTopicPolicies(java.lang.String namespace) |
Remove inactive topic policies from a namespace.
|
void |
Topics.removeInactiveTopicPolicies(java.lang.String topic) |
remove inactive topic policies of a topic.
|
void |
Topics.removeMaxConsumers(java.lang.String topic) |
Remove the max number of consumer for specified topic.
|
void |
Namespaces.removeMaxConsumersPerSubscription(java.lang.String namespace) |
Remove maxConsumersPerSubscription for a namespace.
|
void |
Topics.removeMaxConsumersPerSubscription(java.lang.String topic) |
Remove the maxConsumersPerSubscription for a topic.
|
void |
Namespaces.removeMaxConsumersPerTopic(java.lang.String namespace) |
Remove maxConsumersPerTopic for a namespace.
|
void |
Topics.removeMaxMessageSize(java.lang.String topic) |
Remove the max message size for specified topic.
|
void |
Topics.removeMaxProducers(java.lang.String topic) |
Remove the max number of producer for specified topic.
|
void |
Namespaces.removeMaxProducersPerTopic(java.lang.String namespace) |
Remove maxProducersPerTopic for a namespace.
|
void |
Namespaces.removeMaxSubscriptionsPerTopic(java.lang.String namespace) |
Remove the maxSubscriptionsPerTopic for a namespace.
|
void |
Topics.removeMaxSubscriptionsPerTopic(java.lang.String topic) |
Remove the max number of subscriptions for specified topic.
|
void |
Namespaces.removeMaxTopicsPerNamespace(java.lang.String namespace) |
remove maxTopicsPerNamespace for a namespace.
|
void |
Topics.removeMaxUnackedMessagesOnConsumer(java.lang.String topic) |
remove max unacked messages on consumer of a topic.
|
void |
Topics.removeMaxUnackedMessagesOnSubscription(java.lang.String topic) |
remove max unacked messages on subscription of a topic.
|
void |
Namespaces.removeMaxUnackedMessagesPerConsumer(java.lang.String namespace) |
Remove maxUnackedMessagesPerConsumer for a namespace.
|
void |
Namespaces.removeMaxUnackedMessagesPerSubscription(java.lang.String namespace) |
Remove maxUnackedMessagesPerSubscription for a namespace.
|
void |
Topics.removeMessageTTL(java.lang.String topic) |
Remove message TTL for a topic.
|
void |
Namespaces.removeNamespaceMessageTTL(java.lang.String namespace) |
Remove the messages Time to Live for all the topics within a namespace.
|
void |
Namespaces.removeNamespaceResourceGroup(java.lang.String namespace) |
Remove the ResourceGroup on a namespace.
|
void |
Namespaces.removeOffloadPolicies(java.lang.String namespace) |
Remove the offload configuration for a namespace.
|
void |
Topics.removeOffloadPolicies(java.lang.String topic) |
remove offload policies of a topic.
|
void |
Namespaces.removePersistence(java.lang.String namespace) |
Remove the persistence configuration on a namespace.
|
void |
Topics.removePersistence(java.lang.String topic) |
Remove the configuration of persistence policies for specified topic.
|
java.lang.String |
Namespaces.removeProperty(java.lang.String namespace,
java.lang.String key) |
Remove a property for a given key.
|
void |
Namespaces.removePublishRate(java.lang.String namespace) |
Remove message-publish-rate (topics under this namespace can publish this many messages per second).
|
void |
Topics.removePublishRate(java.lang.String topic) |
Remove message-publish-rate.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
Topics.removePublishRateAsync(java.lang.String topic) |
Remove message-publish-rate asynchronously.
|
void |
Namespaces.removeReplicatorDispatchRate(java.lang.String namespace) |
Remove replicator-message-dispatch-rate.
|
void |
Topics.removeReplicatorDispatchRate(java.lang.String topic) |
Remove replicatorDispatchRate for a topic.
|
void |
Namespaces.removeRetention(java.lang.String namespace) |
Remove the retention configuration for all the topics on a namespace.
|
void |
Topics.removeRetention(java.lang.String topic) |
Remove the retention configuration for all the topics on a topic.
|
void |
Namespaces.removeSubscribeRate(java.lang.String namespace) |
Remove namespace-subscribe-rate (topics under this namespace will limit by subscribeRate).
|
void |
Topics.removeSubscribeRate(java.lang.String topic) |
Remove topic-subscribe-rate.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
Topics.removeSubscribeRateAsync(java.lang.String topic) |
Remove topic-subscribe-rate asynchronously.
|
void |
Namespaces.removeSubscriptionDispatchRate(java.lang.String namespace) |
Remove subscription-message-dispatch-rate.
|
void |
Topics.removeSubscriptionDispatchRate(java.lang.String topic) |
Remove subscription-message-dispatch-rate for a topic.
|
void |
Topics.resetCursor(java.lang.String topic,
java.lang.String subName,
long timestamp) |
Reset cursor position on a topic subscription.
|
void |
Topics.resetCursor(java.lang.String topic,
java.lang.String subName,
org.apache.pulsar.client.api.MessageId messageId) |
Reset cursor position on a topic subscription.
|
void |
Topics.resetCursor(java.lang.String topic,
java.lang.String subName,
org.apache.pulsar.client.api.MessageId messageId,
boolean isExcluded) |
Reset cursor position on a topic subscription.
|
void |
ResourceQuotas.resetNamespaceBundleResourceQuota(java.lang.String namespace,
java.lang.String bundle) |
Reset resource quota for a namespace bundle to default value.
|
void |
Functions.restartFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function) |
Restart all function instances.
|
void |
Functions.restartFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function,
int instanceId) |
Restart function instance.
|
void |
Sinks.restartSink(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink) |
Restart all sink instances.
|
void |
Sinks.restartSink(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink,
int instanceId) |
Restart sink instance.
|
void |
Sources.restartSource(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source) |
Restart all source instances.
|
void |
Sources.restartSource(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source,
int instanceId) |
Restart source instance.
|
void |
Namespaces.revokePermissionOnSubscription(java.lang.String namespace,
java.lang.String subscription,
java.lang.String role) |
Revoke permissions on a subscription's admin-api access.
|
void |
Topics.revokePermissions(java.lang.String topic,
java.lang.String role) |
Revoke permissions on a topic.
|
void |
Namespaces.revokePermissionsOnNamespace(java.lang.String namespace,
java.lang.String role) |
Revoke permissions on a namespace.
|
void |
Namespaces.setAutoSubscriptionCreation(java.lang.String namespace,
AutoSubscriptionCreationOverride autoSubscriptionCreationOverride) |
Sets the autoSubscriptionCreation policy for a given namespace, overriding broker settings.
|
void |
Namespaces.setAutoTopicCreation(java.lang.String namespace,
AutoTopicCreationOverride autoTopicCreationOverride) |
Sets the autoTopicCreation policy for a given namespace, overriding broker settings.
|
void |
Namespaces.setBacklogQuota(java.lang.String namespace,
BacklogQuota backlogQuota) |
Set a backlog quota for all the topics on a namespace.
|
void |
Topics.setBacklogQuota(java.lang.String topic,
BacklogQuota backlogQuota) |
Set a backlog quota for a topic.
|
void |
Namespaces.setBookieAffinityGroup(java.lang.String namespace,
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(java.lang.String namespace,
long compactionThreshold) |
Set the compactionThreshold for a namespace.
|
void |
Topics.setCompactionThreshold(java.lang.String topic,
long compactionThreshold) |
Set the compactionThreshold for a topic.
|
void |
Namespaces.setDeduplicationSnapshotInterval(java.lang.String namespace,
java.lang.Integer interval) |
Set the deduplicationSnapshotInterval for a namespace.
|
void |
Topics.setDeduplicationSnapshotInterval(java.lang.String topic,
int interval) |
Set the deduplication snapshot interval for specified topic.
|
void |
Namespaces.setDeduplicationStatus(java.lang.String namespace,
boolean enableDeduplication) |
Set the deduplication status for all topics within a namespace.
|
void |
Topics.setDeduplicationStatus(java.lang.String topic,
boolean enabled) |
set deduplication enabled of a topic.
|
void |
ResourceQuotas.setDefaultResourceQuota(ResourceQuota quota) |
Set default resource quota for new namespace bundles.
|
void |
Namespaces.setDelayedDeliveryMessages(java.lang.String namespace,
DelayedDeliveryPolicies delayedDeliveryPolicies) |
Set the delayed delivery messages for all topics within a namespace.
|
void |
Topics.setDelayedDeliveryPolicy(java.lang.String topic,
DelayedDeliveryPolicies delayedDeliveryPolicies) |
Set the delayed delivery policy for a specified topic.
|
void |
Namespaces.setDispatchRate(java.lang.String namespace,
DispatchRate dispatchRate) |
Set message-dispatch-rate (topics under this namespace can dispatch this many messages per second).
|
void |
Topics.setDispatchRate(java.lang.String topic,
DispatchRate dispatchRate) |
Set message-dispatch-rate (topic can dispatch this many messages per second).
|
void |
Namespaces.setEncryptionRequiredStatus(java.lang.String namespace,
boolean encryptionRequired) |
Set the encryption required status for all topics within a namespace.
|
void |
Namespaces.setInactiveTopicPolicies(java.lang.String namespace,
InactiveTopicPolicies inactiveTopicPolicies) |
As same as setInactiveTopicPoliciesAsync,but it is synchronous.
|
void |
Topics.setInactiveTopicPolicies(java.lang.String topic,
InactiveTopicPolicies inactiveTopicPolicies) |
set inactive topic policies of a topic.
|
void |
Namespaces.setIsAllowAutoUpdateSchema(java.lang.String namespace,
boolean isAllowAutoUpdateSchema) |
Set whether to allow automatic schema updates.
|
void |
Topics.setMaxConsumers(java.lang.String topic,
int maxConsumers) |
Set the max number of consumer for specified topic.
|
void |
Namespaces.setMaxConsumersPerSubscription(java.lang.String namespace,
int maxConsumersPerSubscription) |
Set maxConsumersPerSubscription for a namespace.
|
void |
Topics.setMaxConsumersPerSubscription(java.lang.String topic,
int maxConsumersPerSubscription) |
Set maxConsumersPerSubscription for a topic.
|
void |
Namespaces.setMaxConsumersPerTopic(java.lang.String namespace,
int maxConsumersPerTopic) |
Set maxConsumersPerTopic for a namespace.
|
void |
Topics.setMaxMessageSize(java.lang.String topic,
int maxMessageSize) |
Set the max message size for specified topic.
|
void |
Topics.setMaxProducers(java.lang.String topic,
int maxProducers) |
Set the max number of producer for specified topic.
|
void |
Namespaces.setMaxProducersPerTopic(java.lang.String namespace,
int maxProducersPerTopic) |
Set maxProducersPerTopic for a namespace.
|
void |
Namespaces.setMaxSubscriptionsPerTopic(java.lang.String namespace,
int maxSubscriptionsPerTopic) |
Set the maxSubscriptionsPerTopic for a namespace.
|
void |
Topics.setMaxSubscriptionsPerTopic(java.lang.String topic,
int maxSubscriptionsPerTopic) |
Set the max number of subscriptions for specified topic.
|
void |
Namespaces.setMaxTopicsPerNamespace(java.lang.String namespace,
int maxTopicsPerNamespace) |
Set maxTopicsPerNamespace for a namespace.
|
void |
Topics.setMaxUnackedMessagesOnConsumer(java.lang.String topic,
int maxNum) |
set max unacked messages on consumer of a topic.
|
void |
Topics.setMaxUnackedMessagesOnSubscription(java.lang.String topic,
int maxNum) |
set max unacked messages on subscription of a topic.
|
void |
Namespaces.setMaxUnackedMessagesPerConsumer(java.lang.String namespace,
int maxUnackedMessagesPerConsumer) |
Set maxUnackedMessagesPerConsumer for a namespace.
|
void |
Namespaces.setMaxUnackedMessagesPerSubscription(java.lang.String namespace,
int maxUnackedMessagesPerSubscription) |
Set maxUnackedMessagesPerSubscription for a namespace.
|
void |
Topics.setMessageTTL(java.lang.String topic,
int messageTTLInSecond) |
Set message TTL for a topic.
|
void |
Namespaces.setNamespaceAntiAffinityGroup(java.lang.String namespace,
java.lang.String namespaceAntiAffinityGroup) |
Set anti-affinity group name for a namespace.
|
void |
ResourceQuotas.setNamespaceBundleResourceQuota(java.lang.String namespace,
java.lang.String bundle,
ResourceQuota quota) |
Set resource quota for a namespace bundle.
|
void |
Namespaces.setNamespaceMessageTTL(java.lang.String namespace,
int ttlInSeconds) |
Set the messages Time to Live for all the topics within a namespace.
|
void |
Namespaces.setNamespaceReplicationClusters(java.lang.String namespace,
java.util.Set<java.lang.String> clusterIds) |
Set the replication clusters for a namespace.
|
void |
Namespaces.setNamespaceResourceGroup(java.lang.String namespace,
java.lang.String resourcegroupname) |
Set the ResourceGroup for a namespace.
|
void |
Namespaces.setOffloadDeleteLag(java.lang.String namespace,
long lag,
java.util.concurrent.TimeUnit unit) |
Set the offload deletion lag for a namespace.
|
void |
Namespaces.setOffloadPolicies(java.lang.String namespace,
OffloadPolicies offloadPolicies) |
Set the offload configuration for all the topics in a namespace.
|
void |
Topics.setOffloadPolicies(java.lang.String topic,
OffloadPolicies offloadPolicies) |
set offload policies of a topic.
|
void |
Namespaces.setOffloadThreshold(java.lang.String namespace,
long offloadThreshold) |
Set the offloadThreshold for a namespace.
|
void |
Namespaces.setPersistence(java.lang.String namespace,
PersistencePolicies persistence) |
Set the persistence configuration for all the topics on a namespace.
|
void |
Topics.setPersistence(java.lang.String topic,
PersistencePolicies persistencePolicies) |
Set the configuration of persistence policies for specified topic.
|
void |
Namespaces.setProperties(java.lang.String namespace,
java.util.Map<java.lang.String,java.lang.String> properties) |
Set key value pair properties for a namespace.
|
void |
Namespaces.setProperty(java.lang.String namespace,
java.lang.String key,
java.lang.String value) |
Set key value pair property for a namespace.
|
void |
Namespaces.setPublishRate(java.lang.String namespace,
PublishRate publishMsgRate) |
Set message-publish-rate (topics under this namespace can publish this many messages per second).
|
void |
Topics.setPublishRate(java.lang.String topic,
PublishRate publishMsgRate) |
Set message-publish-rate (topics can publish this many messages per second).
|
void |
Namespaces.setReplicatorDispatchRate(java.lang.String namespace,
DispatchRate dispatchRate) |
Set replicator-message-dispatch-rate.
|
void |
Topics.setReplicatorDispatchRate(java.lang.String topic,
DispatchRate dispatchRate) |
Set replicatorDispatchRate for the topic.
|
void |
Namespaces.setRetention(java.lang.String namespace,
RetentionPolicies retention) |
Set the retention configuration for all the topics on a namespace.
|
void |
Topics.setRetention(java.lang.String topic,
RetentionPolicies retention) |
Set the retention configuration on a topic.
|
void |
Namespaces.setSchemaAutoUpdateCompatibilityStrategy(java.lang.String namespace,
SchemaAutoUpdateCompatibilityStrategy strategy) |
Deprecated.
|
void |
Namespaces.setSchemaCompatibilityStrategy(java.lang.String namespace,
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(java.lang.String namespace,
boolean schemaValidationEnforced) |
Set schema validation enforced for namespace.
|
void |
Namespaces.setSubscribeRate(java.lang.String namespace,
SubscribeRate subscribeRate) |
Set namespace-subscribe-rate (topics under this namespace will limit by subscribeRate).
|
void |
Topics.setSubscribeRate(java.lang.String topic,
SubscribeRate subscribeRate) |
Set topic-subscribe-rate (topic will limit by subscribeRate).
|
void |
Namespaces.setSubscriptionAuthMode(java.lang.String namespace,
SubscriptionAuthMode subscriptionAuthMode) |
Set the given subscription auth mode on all topics on a namespace.
|
void |
Namespaces.setSubscriptionDispatchRate(java.lang.String namespace,
DispatchRate dispatchRate) |
Set subscription-message-dispatch-rate.
|
void |
Topics.setSubscriptionDispatchRate(java.lang.String topic,
DispatchRate dispatchRate) |
Set subscription-message-dispatch-rate for the topic.
|
void |
Namespaces.setSubscriptionExpirationTime(java.lang.String namespace,
int expirationTime) |
Set the subscription expiration time in minutes for all the topics within a namespace.
|
void |
Namespaces.setSubscriptionTypesEnabled(java.lang.String namespace,
java.util.Set<org.apache.pulsar.client.api.SubscriptionType> subscriptionTypesEnabled) |
Sets the subscriptionTypesEnabled policy for a given namespace, overriding broker settings.
|
void |
Topics.setSubscriptionTypesEnabled(java.lang.String topic,
java.util.Set<org.apache.pulsar.client.api.SubscriptionType> subscriptionTypesEnabled) |
Set is enable sub types.
|
void |
Topics.skipAllMessages(java.lang.String topic,
java.lang.String subName) |
Skip all messages on a topic subscription.
|
void |
Topics.skipMessages(java.lang.String topic,
java.lang.String subName,
long numMessages) |
Skip messages on a topic subscription.
|
void |
Namespaces.splitNamespaceBundle(java.lang.String namespace,
java.lang.String bundle,
boolean unloadSplitBundles,
java.lang.String splitAlgorithmName) |
Split namespace bundle.
|
void |
Functions.startFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function) |
Start all function instances.
|
void |
Functions.startFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function,
int instanceId) |
Start function instance.
|
void |
Sinks.startSink(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink) |
Start all sink instances.
|
void |
Sinks.startSink(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink,
int instanceId) |
Start sink instance.
|
void |
Sources.startSource(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source) |
Start all source instances.
|
void |
Sources.startSource(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source,
int instanceId) |
Start source instance.
|
void |
Functions.stopFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function) |
Stop all function instances.
|
void |
Functions.stopFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function,
int instanceId) |
Stop function instance.
|
void |
Sinks.stopSink(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink) |
Stop all sink instances.
|
void |
Sinks.stopSink(java.lang.String tenant,
java.lang.String namespace,
java.lang.String sink,
int instanceId) |
Stop sink instance.
|
void |
Sources.stopSource(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source) |
Stop all source instances.
|
void |
Sources.stopSource(java.lang.String tenant,
java.lang.String namespace,
java.lang.String source,
int instanceId) |
Stop source instance.
|
org.apache.pulsar.client.api.MessageId |
Topics.terminateTopic(java.lang.String topic) |
Terminate the topic and prevent any more messages being published on it.
|
IsCompatibilityResponse |
Schemas.testCompatibility(java.lang.String topic,
PostSchemaPayload schemaPayload) |
Judge schema compatibility topic.
|
IsCompatibilityResponse |
Schemas.testCompatibility(java.lang.String topic,
org.apache.pulsar.common.schema.SchemaInfo schemaInfo) |
Judge schema compatibility topic.
|
void |
Topics.triggerCompaction(java.lang.String topic) |
Trigger compaction to run for a topic.
|
java.lang.String |
Functions.triggerFunction(java.lang.String tenant,
java.lang.String namespace,
java.lang.String function,
java.lang.String topic,
java.lang.String triggerValue,
java.lang.String triggerFile) |
Triggers the function by writing to the input topic.
|
void |
Topics.triggerOffload(java.lang.String topic,
org.apache.pulsar.client.api.MessageId messageId) |
Trigger offloading messages in topic to longterm storage.
|
void |
Topics.truncate(java.lang.String topic) |
Truncate a topic.
|
void |
Namespaces.unload(java.lang.String namespace) |
Unload a namespace from the current serving broker.
|
void |
NonPersistentTopics.unload(java.lang.String topic) |
Deprecated.
Unload a topic.
|
void |
Topics.unload(java.lang.String topic) |
Unload a topic.
|
void |
Namespaces.unloadNamespaceBundle(java.lang.String namespace,
java.lang.String bundle) |
Unload namespace bundle.
|
void |
Namespaces.unsubscribeNamespace(java.lang.String namespace,
java.lang.String subscription) |
Unsubscribe the given subscription on all topics on a namespace.
|
void |
Namespaces.unsubscribeNamespaceBundle(java.lang.String namespace,
java.lang.String bundle,
java.lang.String subscription) |
Unsubscribe the given subscription on all topics on a namespace bundle.
|
void |
Bookies.updateBookieRackInfo(java.lang.String bookieAddress,
java.lang.String group,
BookieInfo bookieInfo) |
Updates the rack placement information for a specific bookie in the cluster.
|
void |
Clusters.updateCluster(java.lang.String cluster,
ClusterData clusterData) |
Update the configuration for a cluster.
|
void |
Brokers.updateDynamicConfiguration(java.lang.String configName,
java.lang.String configValue) |
Update a dynamic configuration value into ZooKeeper.
|
void |
Clusters.updateFailureDomain(java.lang.String cluster,
java.lang.String domainName,
FailureDomain domain) |
Update a domain into cluster.
|
void |
Functions.updateFunction(FunctionConfig functionConfig,
java.lang.String fileName) |
Update the configuration for a function.
|
void |
Functions.updateFunction(FunctionConfig functionConfig,
java.lang.String fileName,
UpdateOptions updateOptions) |
Update the configuration for a function.
|
void |
Functions.updateFunctionWithUrl(FunctionConfig functionConfig,
java.lang.String pkgUrl) |
Update the configuration for a function.
|
void |
Functions.updateFunctionWithUrl(FunctionConfig functionConfig,
java.lang.String pkgUrl,
UpdateOptions updateOptions) |
Update the configuration for a function.
|
void |
Packages.updateMetadata(java.lang.String packageName,
PackageMetadata metadata) |
Update a package metadata information.
|
void |
Clusters.updateNamespaceIsolationPolicy(java.lang.String cluster,
java.lang.String policyName,
NamespaceIsolationData namespaceIsolationData) |
Update a namespace isolation policy for a cluster.
|
void |
Topics.updatePartitionedTopic(java.lang.String topic,
int numPartitions) |
Update number of partitions of a non-global partitioned topic.
|
void |
Topics.updatePartitionedTopic(java.lang.String topic,
int numPartitions,
boolean updateLocalTopicOnly) |
Update number of partitions of a non-global partitioned topic.
|
void |
Clusters.updatePeerClusterNames(java.lang.String cluster,
java.util.LinkedHashSet<java.lang.String> peerClusterNames) |
Update peer cluster names.
|
void |
Properties.updateProperty(java.lang.String property,
TenantInfo config) |
Deprecated.
Update the admins for a property.
|
void |
ResourceGroups.updateResourceGroup(java.lang.String name,
ResourceGroup resourcegroup) |
Update the configuration for a ResourceGroup.
|
void |
Sinks.updateSink(SinkConfig sinkConfig,
java.lang.String fileName) |
Update the configuration for a sink.
|
void |
Sinks.updateSink(SinkConfig sinkConfig,
java.lang.String fileName,
UpdateOptions updateOptions) |
Update the configuration for a sink.
|
void |
Sinks.updateSinkWithUrl(SinkConfig sinkConfig,
java.lang.String pkgUrl) |
Update the configuration for a sink.
|
void |
Sinks.updateSinkWithUrl(SinkConfig sinkConfig,
java.lang.String pkgUrl,
UpdateOptions updateOptions) |
Update the configuration for a sink.
|
void |
Sources.updateSource(SourceConfig sourceConfig,
java.lang.String fileName) |
Update the configuration for a source.
|
void |
Sources.updateSource(SourceConfig sourceConfig,
java.lang.String fileName,
UpdateOptions updateOptions) |
Update the configuration for a source.
|
void |
Sources.updateSourceWithUrl(SourceConfig sourceConfig,
java.lang.String pkgUrl) |
Update the configuration for a source.
|
void |
Sources.updateSourceWithUrl(SourceConfig sourceConfig,
java.lang.String pkgUrl,
UpdateOptions updateOptions) |
Update the configuration for a source.
|
void |
Tenants.updateTenant(java.lang.String tenant,
TenantInfo config) |
Update the admins for a tenant.
|
void |
Packages.upload(PackageMetadata metadata,
java.lang.String packageName,
java.lang.String path) |
Upload a package to the package management service.
|
void |
Functions.uploadFunction(java.lang.String sourceFile,
java.lang.String path) |
Upload Data.
|