Class PersistentTopics
- java.lang.Object
-
- org.apache.pulsar.broker.web.PulsarWebResource
-
- org.apache.pulsar.broker.admin.AdminResource
-
- org.apache.pulsar.broker.admin.impl.PersistentTopicsBase
-
- org.apache.pulsar.broker.admin.v2.PersistentTopics
-
- Direct Known Subclasses:
NonPersistentTopics
@Path("/persistent") @Produces("application/json") public class PersistentTopics extends PersistentTopicsBase
-
-
Field Summary
-
Fields inherited from class org.apache.pulsar.broker.admin.AdminResource
namespaceName, topicName
-
Fields inherited from class org.apache.pulsar.broker.web.PulsarWebResource
httpRequest, servletContext, uri
-
-
Constructor Summary
Constructors Constructor Description PersistentTopics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompact(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)org.apache.pulsar.client.admin.LongRunningProcessStatuscompactionStatus(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidcreateMissedPartitions(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic)voidcreateNonPartitionedTopic(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, java.util.Map<java.lang.String,java.lang.String> properties)voidcreatePartitionedTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, int numPartitions, boolean createLocalTopicOnly)voidcreatePartitionedTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, org.apache.pulsar.common.partition.PartitionedTopicMetadata metadata, boolean createLocalTopicOnly)voidcreateSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String topic, java.lang.String encodedSubName, boolean authoritative, org.apache.pulsar.client.impl.ResetCursorData resetCursorData, boolean replicated)voiddeleteDeduplicationSnapshotInterval(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voiddeleteDelayedDeliveryPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voiddeleteInactiveTopicPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voiddeleteMaxUnackedMessagesOnConsumer(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voiddeleteMaxUnackedMessagesOnSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voiddeletePartitionedTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean force, boolean authoritative, boolean deleteSchema)voiddeleteSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, boolean force, boolean authoritative)voiddeleteTopic(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean force, boolean authoritative, boolean deleteSchema)javax.ws.rs.core.ResponseexamineMessage(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String initialPosition, long messagePosition, boolean authoritative)voidexpireMessagesForAllSubscriptions(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, int expireTimeInSeconds, boolean authoritative)voidexpireTopicMessages(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, boolean authoritative, org.apache.pulsar.client.impl.ResetCursorData resetCursorData)voidexpireTopicMessages(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, int expireTimeInSeconds, boolean authoritative)org.apache.pulsar.common.policies.data.PersistentOfflineTopicStatsgetBacklog(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidgetBacklogQuotaMap(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean authoritative, boolean isGlobal)voidgetBacklogSizeByMessageId(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, org.apache.pulsar.client.impl.MessageIdImpl messageId)voidgetCompactionThreshold(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetDeduplication(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetDeduplicationSnapshotInterval(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidgetDelayedDeliveryPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean applied, boolean authoritative)voidgetDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetInactiveTopicPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)org.apache.pulsar.common.policies.data.PersistentTopicInternalStatsgetInternalStats(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean metadata)voidgetLastMessageId(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidgetList(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String bundle)voidgetManagedLedgerInfo(java.lang.String tenant, java.lang.String namespace, boolean authoritative, java.lang.String encodedTopic, javax.ws.rs.container.AsyncResponse asyncResponse)voidgetMaxConsumers(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean applied, boolean authoritative)voidgetMaxConsumersPerSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidgetMaxMessageSize(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidgetMaxProducers(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetMaxSubscriptionsPerTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidgetMaxUnackedMessagesOnConsumer(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetMaxUnackedMessagesOnSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetMessageById(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, long ledgerId, long entryId, boolean authoritative)voidgetMessageIdByTimestamp(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, long timestamp, boolean authoritative)voidgetMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetOffloadPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetPartitionedMetadata(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean checkAllowAutoCreation)voidgetPartitionedStats(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean perPartition, boolean authoritative, boolean getPreciseBacklog, boolean subscriptionBacklogSize, boolean getEarliestTimeInBacklog)voidgetPartitionedStatsInternal(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)java.util.List<java.lang.String>getPartitionedTopicList(java.lang.String tenant, java.lang.String namespace)java.util.Map<java.lang.String,java.util.Set<org.apache.pulsar.common.policies.data.AuthAction>>getPermissionsOnTopic(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic)voidgetPersistence(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetProperties(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidgetPublishRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidgetReplicatedSubscriptionStatus(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, boolean authoritative)voidgetReplicationClusters(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean authoritative)voidgetReplicatorDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean applied, boolean authoritative)voidgetRetention(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean applied, boolean authoritative)voidgetSchemaCompatibilityStrategy(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean authoritative)org.apache.pulsar.common.policies.data.TopicStatsgetStats(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean getPreciseBacklog, boolean subscriptionBacklogSize, boolean getEarliestTimeInBacklog)voidgetSubscribeRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean applied, boolean isGlobal, boolean authoritative)voidgetSubscriptions(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidgetSubscriptionTypesEnabled(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidgrantPermissionsOnTopic(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String role, java.util.Set<org.apache.pulsar.common.policies.data.AuthAction> actions)voidoffloadStatus(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)javax.ws.rs.core.ResponsepeekNthMessage(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, int messagePosition, boolean authoritative)voidremoveBacklogQuota(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, boolean authoritative, boolean isGlobal)voidremoveCompactionThreshold(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveDeduplication(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveMaxConsumers(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveMaxConsumersPerSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveMaxMessageSize(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveMaxProducers(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveMaxSubscriptionsPerTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveOffloadPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremovePersistence(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremovePublishRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveReplicationClusters(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, boolean authoritative)voidremoveReplicatorDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveRetention(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveSchemaCompatibilityStrategy(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy strategy)voidremoveSubscribeRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate)voidremoveSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidremoveSubscriptionTypesEnabled(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative)voidresetCursor(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, long timestamp, boolean authoritative)voidresetCursorOnPosition(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, boolean authoritative, org.apache.pulsar.client.impl.ResetCursorData resetCursorData)voidrevokePermissionsOnTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String role)voidsetBacklogQuota(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, org.apache.pulsar.common.policies.data.impl.BacklogQuotaImpl backlogQuota)voidsetCompactionThreshold(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, long compactionThreshold)voidsetDeduplication(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, java.lang.Boolean enabled)voidsetDeduplicationSnapshotInterval(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.Integer interval, boolean isGlobal, boolean authoritative)voidsetDelayedDeliveryPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies deliveryPolicies)voidsetDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)voidsetInactiveTopicPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, org.apache.pulsar.common.policies.data.InactiveTopicPolicies inactiveTopicPolicies)voidsetMaxConsumers(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, int maxConsumers)voidsetMaxConsumersPerSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, int maxConsumersPerSubscription)voidsetMaxMessageSize(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, int maxMessageSize)voidsetMaxProducers(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, int maxProducers)voidsetMaxSubscriptionsPerTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, int maxSubscriptionsPerTopic)voidsetMaxUnackedMessagesOnConsumer(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, java.lang.Integer maxUnackedNum)voidsetMaxUnackedMessagesOnSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, java.lang.Integer maxUnackedNum)voidsetMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.Integer messageTTL, boolean isGlobal, boolean authoritative)voidsetOffloadPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, org.apache.pulsar.common.policies.data.OffloadPoliciesImpl offloadPolicies)voidsetPersistence(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, org.apache.pulsar.common.policies.data.PersistencePolicies persistencePolicies)voidsetPublishRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, org.apache.pulsar.common.policies.data.PublishRate publishRate)voidsetReplicatedSubscriptionStatus(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, boolean authoritative, boolean enabled)voidsetReplicationClusters(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, java.util.List<java.lang.String> clusterIds)voidsetReplicatorDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)voidsetRetention(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, org.apache.pulsar.common.policies.data.RetentionPolicies retention)voidsetSchemaCompatibilityStrategy(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy strategy)voidsetSubscribeRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate)voidsetSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean isGlobal, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)voidsetSubscriptionTypesEnabled(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean isGlobal, boolean authoritative, java.util.Set<org.apache.pulsar.client.api.SubscriptionType> subscriptionTypesEnabled)voidskipAllMessages(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, boolean authoritative)voidskipMessages(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, int numMessages, boolean authoritative)org.apache.pulsar.client.api.MessageIdterminate(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidterminatePartitionedTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidtriggerOffload(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, org.apache.pulsar.client.impl.MessageIdImpl messageId)voidtruncateTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidunloadTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)voidupdatePartitionedTopic(java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean updateLocalTopicOnly, boolean authoritative, boolean force, int numPartitions)It updates number of partitions of an existing non-global partitioned topic.voidupdateSubscriptionProperties(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, java.lang.String encodedSubName, java.util.Map<java.lang.String,java.lang.String> subscriptionProperties, boolean authoritative)-
Methods inherited from class org.apache.pulsar.broker.admin.impl.PersistentTopicsBase
getPartitionedTopicMetadata, handleTopicPolicyException, internalCheckTopicExists, internalCompactionStatus, internalCreateMissedPartitions, internalCreateNonPartitionedTopic, internalCreateSubscription, internalDeletePartitionedTopic, internalDeleteSubscription, internalDeleteSubscription, internalDeleteSubscriptionForcefully, internalDeleteTopic, internalDeleteTopic, internalDeleteTopicForcefully, internalExamineMessage, internalExpireMessagesByPosition, internalExpireMessagesByTimestamp, internalExpireMessagesForAllSubscriptions, internalGetBacklog, internalGetBacklogQuota, internalGetBacklogSizeByMessageId, internalGetCompactionThreshold, internalGetDeduplication, internalGetDelayedDeliveryPolicies, internalGetDispatchRate, internalGetInactiveTopicPolicies, internalGetInternalStats, internalGetLastMessageId, internalGetList, internalGetListAsync, internalGetManagedLedgerInfo, internalGetManagedLedgerInfoForNonPartitionedTopic, internalGetMaxConsumers, internalGetMaxConsumersPerSubscription, internalGetMaxMessageSize, internalGetMaxProducers, internalGetMaxSubscriptionsPerTopic, internalGetMaxUnackedMessagesOnConsumer, internalGetMaxUnackedMessagesOnSubscription, internalGetMessageById, internalGetMessageIdByTimestamp, internalGetOffloadPolicies, internalGetPartitionedMetadata, internalGetPartitionedMetadataAsync, internalGetPartitionedStats, internalGetPartitionedStatsInternal, internalGetPartitionedTopicList, internalGetPermissionsOnTopic, internalGetPersistence, internalGetPropertiesAsync, internalGetPublishRate, internalGetReplicatedSubscriptionStatus, internalGetReplicatorDispatchRate, internalGetRetention, internalGetSchemaCompatibilityStrategy, internalGetStats, internalGetSubscribeRate, internalGetSubscriptionDispatchRate, internalGetSubscriptions, internalGetSubscriptionTypesEnabled, internalGrantPermissionsOnTopic, internalOffloadStatus, internalPeekNthMessage, internalRemoveCompactionThreshold, internalRemoveDispatchRate, internalRemoveMaxConsumers, internalRemoveMaxConsumersPerSubscription, internalRemoveMaxProducers, internalRemovePersistence, internalRemovePublishRate, internalRemoveReplicationClusters, internalRemoveRetention, internalRemoveSubscribeRate, internalRemoveSubscriptionDispatchRate, internalRemoveSubscriptionTypesEnabled, internalResetCursorAsync, internalResetCursorOnPosition, internalRevokePermissionsOnTopic, internalSetBacklogQuota, internalSetCompactionThreshold, internalSetDeduplication, internalSetDeduplicationSnapshotInterval, internalSetDelayedDeliveryPolicies, internalSetDispatchRate, internalSetInactiveTopicPolicies, internalSetMaxConsumers, internalSetMaxConsumersPerSubscription, internalSetMaxMessageSize, internalSetMaxProducers, internalSetMaxSubscriptionsPerTopic, internalSetMaxUnackedMessagesOnConsumer, internalSetMaxUnackedMessagesOnSubscription, internalSetMessageTTL, internalSetOffloadPolicies, internalSetPersistence, internalSetPublishRate, internalSetReplicatedSubscriptionStatus, internalSetReplicationClusters, internalSetReplicatorDispatchRate, internalSetRetention, internalSetSchemaCompatibilityStrategy, internalSetSubscribeRate, internalSetSubscriptionDispatchRate, internalSetSubscriptionTypesEnabled, internalSkipAllMessages, internalSkipMessages, internalTerminate, internalTerminatePartitionedTopic, internalTriggerCompaction, internalTriggerCompactionNonPartitionedTopic, internalTriggerOffload, internalTruncateNonPartitionedTopic, internalTruncateTopic, internalUnloadTopic, internalUpdatePartitionedTopic, internalUpdateSubscriptionProperties, internalValidateClientVersionAsync, preValidation, unsafeGetPartitionedTopicMetadataAsync, validateAdminOperationOnTopic, validateCreateTopic
-
Methods inherited from class org.apache.pulsar.broker.admin.AdminResource
bookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, dispatchRate, domain, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getSchemaCompatibilityStrategyAsync, getSchemaCompatibilityStrategyAsyncWithoutAuth, getTopicNotFoundErrorMessage, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, internalCreatePartitionedTopic, isLeaderBroker, isManagedLedgerNotFoundException, isNamespaceReplicated, isRedirectException, jsonMapper, namespaceBacklogQuota, replicatorDispatchRate, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateAndGetWorkerService, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePersistentTopicName, validatePersistentTopicName, validatePoliciesReadOnlyAccess, validatePoliciesReadOnlyAccessAsync, validateSuperUserAccess, validateTopicName, validateTopicName
-
Methods inherited from class org.apache.pulsar.broker.web.PulsarWebResource
bookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, setPulsar, splitPath, sync, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateClusterOwnershipAsync, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateNamespacePolicyOperationAsync, validatePeerClusterConflict, validateSuperUserAccessAsync, validateTenantOperation, validateTenantOperationAsync, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation, validateTopicPolicyOperationAsync
-
-
-
-
Method Detail
-
getList
@GET @Path("/{tenant}/{namespace}") public void getList(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @QueryParam("bundle") java.lang.String bundle)
-
getPartitionedTopicList
@GET @Path("/{tenant}/{namespace}/partitioned") public java.util.List<java.lang.String> getPartitionedTopicList(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace)
-
getPermissionsOnTopic
@GET @Path("/{tenant}/{namespace}/{topic}/permissions") public java.util.Map<java.lang.String,java.util.Set<org.apache.pulsar.common.policies.data.AuthAction>> getPermissionsOnTopic(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic)
-
grantPermissionsOnTopic
@POST @Path("/{tenant}/{namespace}/{topic}/permissions/{role}") public void grantPermissionsOnTopic(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("role") java.lang.String role, java.util.Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
-
revokePermissionsOnTopic
@DELETE @Path("/{tenant}/{namespace}/{topic}/permissions/{role}") public void revokePermissionsOnTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("role") java.lang.String role)
-
createPartitionedTopic
@PUT @Path("/{tenant}/{namespace}/{topic}/partitions") public void createPartitionedTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, int numPartitions, @QueryParam("createLocalTopicOnly") @DefaultValue("false") boolean createLocalTopicOnly)
-
createPartitionedTopic
@PUT @Consumes("application/vnd.partitioned-topic-metadata+json") @Path("/{tenant}/{namespace}/{topic}/partitions") public void createPartitionedTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, org.apache.pulsar.common.partition.PartitionedTopicMetadata metadata, @QueryParam("createLocalTopicOnly") @DefaultValue("false") boolean createLocalTopicOnly)
-
createNonPartitionedTopic
@PUT @Path("/{tenant}/{namespace}/{topic}") public void createNonPartitionedTopic(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, java.util.Map<java.lang.String,java.lang.String> properties)
-
getOffloadPolicies
@GET @Path("/{tenant}/{namespace}/{topic}/offloadPolicies") public void getOffloadPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setOffloadPolicies
@POST @Path("/{tenant}/{namespace}/{topic}/offloadPolicies") public void setOffloadPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, org.apache.pulsar.common.policies.data.OffloadPoliciesImpl offloadPolicies)
-
removeOffloadPolicies
@DELETE @Path("/{tenant}/{namespace}/{topic}/offloadPolicies") public void removeOffloadPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMaxUnackedMessagesOnConsumer
@GET @Path("/{tenant}/{namespace}/{topic}/maxUnackedMessagesOnConsumer") public void getMaxUnackedMessagesOnConsumer(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setMaxUnackedMessagesOnConsumer
@POST @Path("/{tenant}/{namespace}/{topic}/maxUnackedMessagesOnConsumer") public void setMaxUnackedMessagesOnConsumer(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, java.lang.Integer maxUnackedNum)
-
deleteMaxUnackedMessagesOnConsumer
@DELETE @Path("/{tenant}/{namespace}/{topic}/maxUnackedMessagesOnConsumer") public void deleteMaxUnackedMessagesOnConsumer(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getDeduplicationSnapshotInterval
@GET @Path("/{tenant}/{namespace}/{topic}/deduplicationSnapshotInterval") public void getDeduplicationSnapshotInterval(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setDeduplicationSnapshotInterval
@POST @Path("/{tenant}/{namespace}/{topic}/deduplicationSnapshotInterval") public void setDeduplicationSnapshotInterval(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, java.lang.Integer interval, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
deleteDeduplicationSnapshotInterval
@DELETE @Path("/{tenant}/{namespace}/{topic}/deduplicationSnapshotInterval") public void deleteDeduplicationSnapshotInterval(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getInactiveTopicPolicies
@GET @Path("/{tenant}/{namespace}/{topic}/inactiveTopicPolicies") public void getInactiveTopicPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setInactiveTopicPolicies
@POST @Path("/{tenant}/{namespace}/{topic}/inactiveTopicPolicies") public void setInactiveTopicPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, org.apache.pulsar.common.policies.data.InactiveTopicPolicies inactiveTopicPolicies)
-
deleteInactiveTopicPolicies
@DELETE @Path("/{tenant}/{namespace}/{topic}/inactiveTopicPolicies") public void deleteInactiveTopicPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMaxUnackedMessagesOnSubscription
@GET @Path("/{tenant}/{namespace}/{topic}/maxUnackedMessagesOnSubscription") public void getMaxUnackedMessagesOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setMaxUnackedMessagesOnSubscription
@POST @Path("/{tenant}/{namespace}/{topic}/maxUnackedMessagesOnSubscription") public void setMaxUnackedMessagesOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, java.lang.Integer maxUnackedNum)
-
deleteMaxUnackedMessagesOnSubscription
@DELETE @Path("/{tenant}/{namespace}/{topic}/maxUnackedMessagesOnSubscription") public void deleteMaxUnackedMessagesOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getDelayedDeliveryPolicies
@GET @Path("/{tenant}/{namespace}/{topic}/delayedDelivery") public void getDelayedDeliveryPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setDelayedDeliveryPolicies
@POST @Path("/{tenant}/{namespace}/{topic}/delayedDelivery") public void setDelayedDeliveryPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies deliveryPolicies)
-
deleteDelayedDeliveryPolicies
@DELETE @Path("/{tenant}/{namespace}/{topic}/delayedDelivery") public void deleteDelayedDeliveryPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
updatePartitionedTopic
@POST @Path("/{tenant}/{namespace}/{topic}/partitions") public void updatePartitionedTopic(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("updateLocalTopicOnly") @DefaultValue("false") boolean updateLocalTopicOnly, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("force") @DefaultValue("false") boolean force, int numPartitions)It updates number of partitions of an existing non-global partitioned topic. It requires partitioned-topic to be already exist and number of new partitions must be greater than existing number of partitions. Decrementing number of partitions requires deletion of topic which is not supported. Already created partitioned producers and consumers can't see newly created partitions and it requires to recreate them at application so, newly created producers and consumers can connect to newly added partitions as well. Therefore, it can violate partition ordering at producers until all producers are restarted at application.- Parameters:
tenant-namespace-encodedTopic-numPartitions-
-
createMissedPartitions
@POST @Path("/{tenant}/{namespace}/{topic}/createMissedPartitions") public void createMissedPartitions(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic)
-
getPartitionedMetadata
@GET @Path("/{tenant}/{namespace}/{topic}/partitions") public void getPartitionedMetadata(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("checkAllowAutoCreation") @DefaultValue("false") boolean checkAllowAutoCreation)
-
getProperties
@GET @Path("/{tenant}/{namespace}/{topic}/properties") public void getProperties(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
deletePartitionedTopic
@DELETE @Path("/{tenant}/{namespace}/{topic}/partitions") public void deletePartitionedTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("deleteSchema") @DefaultValue("false") boolean deleteSchema)
-
unloadTopic
@PUT @Path("/{tenant}/{namespace}/{topic}/unload") public void unloadTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
deleteTopic
@DELETE @Path("/{tenant}/{namespace}/{topic}") public void deleteTopic(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("deleteSchema") @DefaultValue("false") boolean deleteSchema)
-
getSubscriptions
@GET @Path("/{tenant}/{namespace}/{topic}/subscriptions") public void getSubscriptions(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getStats
@GET @Path("{tenant}/{namespace}/{topic}/stats") public org.apache.pulsar.common.policies.data.TopicStats getStats(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("getPreciseBacklog") @DefaultValue("false") boolean getPreciseBacklog, @QueryParam("subscriptionBacklogSize") @DefaultValue("false") boolean subscriptionBacklogSize, @QueryParam("getEarliestTimeInBacklog") @DefaultValue("false") boolean getEarliestTimeInBacklog)
-
getInternalStats
@GET @Path("{tenant}/{namespace}/{topic}/internalStats") public org.apache.pulsar.common.policies.data.PersistentTopicInternalStats getInternalStats(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("metadata") @DefaultValue("false") boolean metadata)
-
getManagedLedgerInfo
@GET @Path("{tenant}/{namespace}/{topic}/internal-info") public void getManagedLedgerInfo(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @PathParam("topic") @Encoded java.lang.String encodedTopic, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
-
getPartitionedStats
@GET @Path("{tenant}/{namespace}/{topic}/partitioned-stats") public void getPartitionedStats(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("perPartition") @DefaultValue("true") boolean perPartition, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("getPreciseBacklog") @DefaultValue("false") boolean getPreciseBacklog, @QueryParam("subscriptionBacklogSize") @DefaultValue("false") boolean subscriptionBacklogSize, @QueryParam("getEarliestTimeInBacklog") @DefaultValue("false") boolean getEarliestTimeInBacklog)
-
getPartitionedStatsInternal
@GET @Path("{tenant}/{namespace}/{topic}/partitioned-internalStats") public void getPartitionedStatsInternal(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
deleteSubscription
@DELETE @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}") public void deleteSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
skipAllMessages
@POST @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/skip_all") public void skipAllMessages(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
skipMessages
@POST @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/skip/{numMessages}") public void skipMessages(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @PathParam("numMessages") int numMessages, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
expireTopicMessages
@POST @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/expireMessages/{expireTimeInSeconds}") public void expireTopicMessages(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @PathParam("expireTimeInSeconds") int expireTimeInSeconds, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
expireTopicMessages
@POST @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/expireMessages") public void expireTopicMessages(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.client.impl.ResetCursorData resetCursorData)
-
expireMessagesForAllSubscriptions
@POST @Path("/{tenant}/{namespace}/{topic}/all_subscription/expireMessages/{expireTimeInSeconds}") public void expireMessagesForAllSubscriptions(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("expireTimeInSeconds") int expireTimeInSeconds, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
createSubscription
@PUT @Path("/{tenant}/{namespace}/{topic}/subscription/{subscriptionName}") public void createSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String topic, @PathParam("subscriptionName") java.lang.String encodedSubName, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.client.impl.ResetCursorData resetCursorData, @QueryParam("replicated") boolean replicated)
-
resetCursor
@POST @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/resetcursor/{timestamp}") public void resetCursor(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @PathParam("timestamp") long timestamp, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
updateSubscriptionProperties
@PUT @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/properties") public void updateSubscriptionProperties(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, java.util.Map<java.lang.String,java.lang.String> subscriptionProperties, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
resetCursorOnPosition
@POST @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/resetcursor") public void resetCursorOnPosition(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.client.impl.ResetCursorData resetCursorData)
-
peekNthMessage
@GET @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/position/{messagePosition}") public javax.ws.rs.core.Response peekNthMessage(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @PathParam("messagePosition") int messagePosition, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
examineMessage
@GET @Path("/{tenant}/{namespace}/{topic}/examinemessage") public javax.ws.rs.core.Response examineMessage(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("initialPosition") java.lang.String initialPosition, @QueryParam("messagePosition") long messagePosition, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMessageById
@GET @Path("/{tenant}/{namespace}/{topic}/ledger/{ledgerId}/entry/{entryId}") public void getMessageById(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("ledgerId") long ledgerId, @PathParam("entryId") long entryId, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMessageIdByTimestamp
@GET @Path("/{tenant}/{namespace}/{topic}/messageid/{timestamp}") public void getMessageIdByTimestamp(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("timestamp") long timestamp, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getBacklog
@GET @Path("{tenant}/{namespace}/{topic}/backlog") public org.apache.pulsar.common.policies.data.PersistentOfflineTopicStats getBacklog(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getBacklogSizeByMessageId
@PUT @Path("/{tenant}/{namespace}/{topic}/backlogSize") public void getBacklogSizeByMessageId(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.client.impl.MessageIdImpl messageId)
-
getBacklogQuotaMap
@GET @Path("/{tenant}/{namespace}/{topic}/backlogQuotaMap") public void getBacklogQuotaMap(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal)
-
setBacklogQuota
@POST @Path("/{tenant}/{namespace}/{topic}/backlogQuota") public void setBacklogQuota(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("backlogQuotaType") org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, org.apache.pulsar.common.policies.data.impl.BacklogQuotaImpl backlogQuota)
-
removeBacklogQuota
@DELETE @Path("/{tenant}/{namespace}/{topic}/backlogQuota") public void removeBacklogQuota(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("backlogQuotaType") org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal)
-
getReplicationClusters
@GET @Path("/{tenant}/{namespace}/{topic}/replication") public void getReplicationClusters(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setReplicationClusters
@POST @Path("/{tenant}/{namespace}/{topic}/replication") public void setReplicationClusters(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, java.util.List<java.lang.String> clusterIds)
-
removeReplicationClusters
@DELETE @Path("/{tenant}/{namespace}/{topic}/replication") public void removeReplicationClusters(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("backlogQuotaType") org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMessageTTL
@GET @Path("/{tenant}/{namespace}/{topic}/messageTTL") public void getMessageTTL(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setMessageTTL
@POST @Path("/{tenant}/{namespace}/{topic}/messageTTL") public void setMessageTTL(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("messageTTL") java.lang.Integer messageTTL, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
removeMessageTTL
@DELETE @Path("/{tenant}/{namespace}/{topic}/messageTTL") public void removeMessageTTL(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getDeduplication
@GET @Path("/{tenant}/{namespace}/{topic}/deduplicationEnabled") public void getDeduplication(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setDeduplication
@POST @Path("/{tenant}/{namespace}/{topic}/deduplicationEnabled") public void setDeduplication(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, java.lang.Boolean enabled)
-
removeDeduplication
@DELETE @Path("/{tenant}/{namespace}/{topic}/deduplicationEnabled") public void removeDeduplication(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getRetention
@GET @Path("/{tenant}/{namespace}/{topic}/retention") public void getRetention(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setRetention
@POST @Path("/{tenant}/{namespace}/{topic}/retention") public void setRetention(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, org.apache.pulsar.common.policies.data.RetentionPolicies retention)
-
removeRetention
@DELETE @Path("/{tenant}/{namespace}/{topic}/retention") public void removeRetention(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getPersistence
@GET @Path("/{tenant}/{namespace}/{topic}/persistence") public void getPersistence(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setPersistence
@POST @Path("/{tenant}/{namespace}/{topic}/persistence") public void setPersistence(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, org.apache.pulsar.common.policies.data.PersistencePolicies persistencePolicies)
-
removePersistence
@DELETE @Path("/{tenant}/{namespace}/{topic}/persistence") public void removePersistence(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMaxSubscriptionsPerTopic
@GET @Path("/{tenant}/{namespace}/{topic}/maxSubscriptionsPerTopic") public void getMaxSubscriptionsPerTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setMaxSubscriptionsPerTopic
@POST @Path("/{tenant}/{namespace}/{topic}/maxSubscriptionsPerTopic") public void setMaxSubscriptionsPerTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, int maxSubscriptionsPerTopic)
-
removeMaxSubscriptionsPerTopic
@DELETE @Path("/{tenant}/{namespace}/{topic}/maxSubscriptionsPerTopic") public void removeMaxSubscriptionsPerTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getReplicatorDispatchRate
@GET @Path("/{tenant}/{namespace}/{topic}/replicatorDispatchRate") public void getReplicatorDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setReplicatorDispatchRate
@POST @Path("/{tenant}/{namespace}/{topic}/replicatorDispatchRate") public void setReplicatorDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
-
removeReplicatorDispatchRate
@DELETE @Path("/{tenant}/{namespace}/{topic}/replicatorDispatchRate") public void removeReplicatorDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMaxProducers
@GET @Path("/{tenant}/{namespace}/{topic}/maxProducers") public void getMaxProducers(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setMaxProducers
@POST @Path("/{tenant}/{namespace}/{topic}/maxProducers") public void setMaxProducers(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, int maxProducers)
-
removeMaxProducers
@DELETE @Path("/{tenant}/{namespace}/{topic}/maxProducers") public void removeMaxProducers(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMaxConsumers
@GET @Path("/{tenant}/{namespace}/{topic}/maxConsumers") public void getMaxConsumers(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setMaxConsumers
@POST @Path("/{tenant}/{namespace}/{topic}/maxConsumers") public void setMaxConsumers(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, int maxConsumers)
-
removeMaxConsumers
@DELETE @Path("/{tenant}/{namespace}/{topic}/maxConsumers") public void removeMaxConsumers(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMaxMessageSize
@GET @Path("/{tenant}/{namespace}/{topic}/maxMessageSize") public void getMaxMessageSize(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setMaxMessageSize
@POST @Path("/{tenant}/{namespace}/{topic}/maxMessageSize") public void setMaxMessageSize(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, int maxMessageSize)
-
removeMaxMessageSize
@DELETE @Path("/{tenant}/{namespace}/{topic}/maxMessageSize") public void removeMaxMessageSize(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
terminate
@POST @Path("/{tenant}/{namespace}/{topic}/terminate") public org.apache.pulsar.client.api.MessageId terminate(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
terminatePartitionedTopic
@POST @Path("/{tenant}/{namespace}/{topic}/terminate/partitions") public void terminatePartitionedTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
compact
@PUT @Path("/{tenant}/{namespace}/{topic}/compaction") public void compact(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
compactionStatus
@GET @Path("/{tenant}/{namespace}/{topic}/compaction") public org.apache.pulsar.client.admin.LongRunningProcessStatus compactionStatus(@PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
triggerOffload
@PUT @Path("/{tenant}/{namespace}/{topic}/offload") public void triggerOffload(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.client.impl.MessageIdImpl messageId)
-
offloadStatus
@GET @Path("/{tenant}/{namespace}/{topic}/offload") public void offloadStatus(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getLastMessageId
@GET @Path("/{tenant}/{namespace}/{topic}/lastMessageId") public void getLastMessageId(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getDispatchRate
@GET @Path("/{tenant}/{namespace}/{topic}/dispatchRate") public void getDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setDispatchRate
@POST @Path("/{tenant}/{namespace}/{topic}/dispatchRate") public void setDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
-
removeDispatchRate
@DELETE @Path("/{tenant}/{namespace}/{topic}/dispatchRate") public void removeDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getSubscriptionDispatchRate
@GET @Path("/{tenant}/{namespace}/{topic}/subscriptionDispatchRate") public void getSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setSubscriptionDispatchRate
@POST @Path("/{tenant}/{namespace}/{topic}/subscriptionDispatchRate") public void setSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
-
removeSubscriptionDispatchRate
@DELETE @Path("/{tenant}/{namespace}/{topic}/subscriptionDispatchRate") public void removeSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getCompactionThreshold
@GET @Path("/{tenant}/{namespace}/{topic}/compactionThreshold") public void getCompactionThreshold(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setCompactionThreshold
@POST @Path("/{tenant}/{namespace}/{topic}/compactionThreshold") public void setCompactionThreshold(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, long compactionThreshold)
-
removeCompactionThreshold
@DELETE @Path("/{tenant}/{namespace}/{topic}/compactionThreshold") public void removeCompactionThreshold(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getMaxConsumersPerSubscription
@GET @Path("/{tenant}/{namespace}/{topic}/maxConsumersPerSubscription") public void getMaxConsumersPerSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setMaxConsumersPerSubscription
@POST @Path("/{tenant}/{namespace}/{topic}/maxConsumersPerSubscription") public void setMaxConsumersPerSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, int maxConsumersPerSubscription)
-
removeMaxConsumersPerSubscription
@DELETE @Path("/{tenant}/{namespace}/{topic}/maxConsumersPerSubscription") public void removeMaxConsumersPerSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getPublishRate
@GET @Path("/{tenant}/{namespace}/{topic}/publishRate") public void getPublishRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setPublishRate
@POST @Path("/{tenant}/{namespace}/{topic}/publishRate") public void setPublishRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.common.policies.data.PublishRate publishRate)
-
removePublishRate
@DELETE @Path("/{tenant}/{namespace}/{topic}/publishRate") public void removePublishRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getSubscriptionTypesEnabled
@GET @Path("/{tenant}/{namespace}/{topic}/subscriptionTypesEnabled") public void getSubscriptionTypesEnabled(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setSubscriptionTypesEnabled
@POST @Path("/{tenant}/{namespace}/{topic}/subscriptionTypesEnabled") public void setSubscriptionTypesEnabled(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, java.util.Set<org.apache.pulsar.client.api.SubscriptionType> subscriptionTypesEnabled)
-
removeSubscriptionTypesEnabled
@DELETE @Path("/{tenant}/{namespace}/{topic}/subscriptionTypesEnabled") public void removeSubscriptionTypesEnabled(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getSubscribeRate
@GET @Path("/{tenant}/{namespace}/{topic}/subscribeRate") public void getSubscribeRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setSubscribeRate
@POST @Path("/{tenant}/{namespace}/{topic}/subscribeRate") public void setSubscribeRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate)
-
removeSubscribeRate
@DELETE @Path("/{tenant}/{namespace}/{topic}/subscribeRate") public void removeSubscribeRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("isGlobal") @DefaultValue("false") boolean isGlobal, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate)
-
truncateTopic
@DELETE @Path("/{tenant}/{namespace}/{topic}/truncate") public void truncateTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setReplicatedSubscriptionStatus
@POST @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/replicatedSubscriptionStatus") public void setReplicatedSubscriptionStatus(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, boolean enabled)
-
getReplicatedSubscriptionStatus
@GET @Path("/{tenant}/{namespace}/{topic}/subscription/{subName}/replicatedSubscriptionStatus") public void getReplicatedSubscriptionStatus(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @PathParam("subName") java.lang.String encodedSubName, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getSchemaCompatibilityStrategy
@GET @Path("/{tenant}/{namespace}/{topic}/schemaCompatibilityStrategy") public void getSchemaCompatibilityStrategy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("applied") @DefaultValue("false") boolean applied, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setSchemaCompatibilityStrategy
@PUT @Path("/{tenant}/{namespace}/{topic}/schemaCompatibilityStrategy") public void setSchemaCompatibilityStrategy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy strategy)
-
removeSchemaCompatibilityStrategy
@DELETE @Path("/{tenant}/{namespace}/{topic}/schemaCompatibilityStrategy") public void removeSchemaCompatibilityStrategy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy strategy)
-
-