@Path(value="/non-persistent") @Produces(value="application/json") public class NonPersistentTopics extends PersistentTopics
namespaceName, PARTITIONED_TOPIC_PATH_ZNODE, topicNamehttpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
NonPersistentTopics() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPartitionedTopic(javax.ws.rs.container.AsyncResponse asyncResponse,
String tenant,
String namespace,
String encodedTopic,
int numPartitions) |
org.apache.pulsar.common.policies.data.PersistentTopicInternalStats |
getInternalStats(String tenant,
String namespace,
String encodedTopic,
boolean authoritative,
boolean metadata) |
void |
getList(javax.ws.rs.container.AsyncResponse asyncResponse,
String tenant,
String namespace) |
void |
getListFromBundle(javax.ws.rs.container.AsyncResponse asyncResponse,
String tenant,
String namespace,
String bundleRange) |
org.apache.pulsar.common.partition.PartitionedTopicMetadata |
getPartitionedMetadata(String tenant,
String namespace,
String encodedTopic,
boolean authoritative,
boolean checkAllowAutoCreation) |
org.apache.pulsar.common.policies.data.NonPersistentTopicStats |
getStats(String tenant,
String namespace,
String encodedTopic,
boolean authoritative,
boolean getPreciseBacklog,
boolean subscriptionBacklogSize) |
void |
unloadTopic(javax.ws.rs.container.AsyncResponse asyncResponse,
String tenant,
String namespace,
String encodedTopic,
boolean authoritative) |
protected void |
validateAdminOperationOnTopic(org.apache.pulsar.common.naming.TopicName topicName,
boolean authoritative) |
compact, compactionStatus, createMissedPartitions, createNonPartitionedTopic, createSubscription, deleteDeduplicationSnapshotInterval, deleteDelayedDeliveryPolicies, deleteInactiveTopicPolicies, deleteMaxUnackedMessagesOnConsumer, deleteMaxUnackedMessagesOnSubscription, deletePartitionedTopic, deleteSubscription, deleteTopic, examineMessage, expireMessagesForAllSubscriptions, expireTopicMessages, expireTopicMessages, getBacklog, getBacklogQuotaMap, getCompactionThreshold, getDeduplicationEnabled, getDeduplicationSnapshotInterval, getDelayedDeliveryPolicies, getDispatchRate, getInactiveTopicPolicies, getLastMessageId, getManagedLedgerInfo, getMaxConsumers, getMaxConsumersPerSubscription, getMaxMessageSize, getMaxProducers, getMaxSubscriptionsPerTopic, getMaxUnackedMessagesOnConsumer, getMaxUnackedMessagesOnSubscription, getMessageById, getMessageTTL, getOffloadPolicies, getPartitionedStats, getPartitionedStatsInternal, getPartitionedTopicList, getPermissionsOnTopic, getPersistence, getPublishRate, getRetention, getSubscribeRate, getSubscriptionDispatchRate, getSubscriptions, grantPermissionsOnTopic, offloadStatus, peekNthMessage, removeBacklogQuota, removeCompactionThreshold, removeDeduplicationEnabled, removeDispatchRate, removeMaxConsumers, removeMaxConsumersPerSubscription, removeMaxMessageSize, removeMaxProducers, removeMaxSubscriptionsPerTopic, removeMessageTTL, removeOffloadPolicies, removePersistence, removePublishRate, removeRetention, removeSubscribeRate, removeSubscriptionDispatchRate, resetCursor, resetCursorOnPosition, revokePermissionsOnTopic, setBacklogQuota, setCompactionThreshold, setDeduplicationEnabled, setDeduplicationSnapshotInterval, setDelayedDeliveryPolicies, setDispatchRate, setInactiveTopicPolicies, setMaxConsumers, setMaxConsumersPerSubscription, setMaxMessageSize, setMaxProducers, setMaxSubscriptionsPerTopic, setMaxUnackedMessagesOnConsumer, setMaxUnackedMessagesOnSubscription, setMessageTTL, setOffloadPolicies, setPersistence, setPublishRate, setRetention, setSubscribeRate, setSubscriptionDispatchRate, skipAllMessages, skipMessages, terminate, terminatePartitionedTopic, triggerOffload, updatePartitionedTopicgetPartitionedTopicMetadata, internalCompactionStatus, internalCreateMissedPartitions, internalCreateNonPartitionedTopic, internalCreateSubscription, internalDeletePartitionedTopic, internalDeleteSubscription, internalDeleteSubscription, internalDeleteSubscriptionForcefully, internalDeleteTopic, internalDeleteTopic, internalDeleteTopicForcefully, internalExamineMessage, internalExpireMessagesByPosition, internalExpireMessagesByTimestamp, internalExpireMessagesForAllSubscriptions, internalGetBacklog, internalGetCompactionThreshold, internalGetDispatchRate, internalGetInternalStats, internalGetLastMessageId, internalGetList, internalGetManagedLedgerInfo, internalGetManagedLedgerInfoForNonPartitionedTopic, internalGetMaxConsumers, internalGetMaxConsumersPerSubscription, internalGetMaxMessageSize, internalGetMaxProducers, internalGetMaxSubscriptionsPerTopic, internalGetMessageById, internalGetPartitionedMetadata, internalGetPartitionedStats, internalGetPartitionedStatsInternal, internalGetPartitionedTopicList, internalGetPermissionsOnTopic, internalGetPersistence, internalGetPublishRate, internalGetRetention, internalGetStats, internalGetSubscribeRate, internalGetSubscriptionDispatchRate, internalGetSubscriptions, internalGrantPermissionsOnTopic, internalOffloadStatus, internalPeekNthMessage, internalRemoveBacklogQuota, internalRemoveCompactionThreshold, internalRemoveDispatchRate, internalRemoveMaxConsumers, internalRemoveMaxConsumersPerSubscription, internalRemoveMaxProducers, internalRemovePersistence, internalRemovePublishRate, internalRemoveRetention, internalRemoveSubscribeRate, internalRemoveSubscriptionDispatchRate, internalResetCursor, internalResetCursorOnPosition, internalRevokePermissionsOnTopic, internalSetBacklogQuota, internalSetCompactionThreshold, internalSetDeduplicationEnabled, internalSetDeduplicationSnapshotInterval, internalSetDelayedDeliveryPolicies, internalSetDispatchRate, internalSetInactiveTopicPolicies, internalSetMaxConsumers, internalSetMaxConsumersPerSubscription, internalSetMaxMessageSize, internalSetMaxProducers, internalSetMaxSubscriptionsPerTopic, internalSetMaxUnackedMessagesOnConsumer, internalSetMaxUnackedMessagesOnSubscription, internalSetMessageTTL, internalSetOffloadPolicies, internalSetPersistence, internalSetPublishRate, internalSetRetention, internalSetSubscribeRate, internalSetSubscriptionDispatchRate, internalSkipAllMessages, internalSkipMessages, internalTerminate, internalTerminatePartitionedTopic, internalTriggerCompaction, internalTriggerCompactionNonPartitionedTopic, internalTriggerOffload, internalUnloadTopic, internalUpdatePartitionedTopic, preValidation, unsafeGetPartitionedTopicMetadataAsync, validateAdminAccessForSubscriber, validateAdminAndClientPermission, validateAdminOperationOnTopic, validateReadOperationOnTopic, validateWriteOperationOnTopiccheckArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, clustersCache, clustersListCache, dispatchRate, domain, failureDomainCache, failureDomainListCache, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getListOfNamespaces, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getTopicPolicies, globalZk, globalZkCache, internalCreatePartitionedTopic, isLeaderBroker, isNamespaceReplicated, jsonMapper, localCacheService, localPoliciesCache, localZk, localZkCache, managedLedgerListCache, mergeNamespaceWithDefaults, namespaceBacklogQuota, namespaceIsolationPoliciesCache, policiesCache, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tenantsCache, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateBrokerName, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validateNamespaceOwnershipWithBundles, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTopicExistedAndCheckAllowAutoCreation, validateTopicName, validateTopicName, zkCreate, zkCreateOptimistic, zkCreateOptimisticAsync, zkPathExists, zkSynccheckAuthorization, checkConnect, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, config, getClusterDataIfDifferentCluster, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, joinPath, originalPrincipal, path, pulsar, setPulsar, splitPath, validateAdminAccessForTenant, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespacePolicyOperation, validateTenantOperation, validateTopicOwnership@GET
@Path(value="/{tenant}/{namespace}/{topic}/partitions")
public org.apache.pulsar.common.partition.PartitionedTopicMetadata getPartitionedMetadata(@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@QueryParam(value="checkAllowAutoCreation") @DefaultValue(value="false")
boolean checkAllowAutoCreation)
getPartitionedMetadata in class PersistentTopics@GET
@Path(value="{tenant}/{namespace}/{topic}/stats")
public org.apache.pulsar.common.policies.data.NonPersistentTopicStats getStats(@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@QueryParam(value="getPreciseBacklog") @DefaultValue(value="false")
boolean getPreciseBacklog,
@QueryParam(value="subscriptionBacklogSize") @DefaultValue(value="false")
boolean subscriptionBacklogSize)
getStats in class PersistentTopics@GET
@Path(value="{tenant}/{namespace}/{topic}/internalStats")
public org.apache.pulsar.common.policies.data.PersistentTopicInternalStats getInternalStats(@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@QueryParam(value="metadata") @DefaultValue(value="false")
boolean metadata)
getInternalStats in class PersistentTopics@PUT
@Path(value="/{tenant}/{namespace}/{topic}/partitions")
public void createPartitionedTopic(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
int numPartitions)
createPartitionedTopic in class PersistentTopics@PUT
@Path(value="/{tenant}/{namespace}/{topic}/unload")
public void unloadTopic(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
unloadTopic in class PersistentTopics@GET
@Path(value="/{tenant}/{namespace}")
public void getList(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace)
getList in class PersistentTopics@GET
@Path(value="/{tenant}/{namespace}/{bundle}")
public void getListFromBundle(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="bundle")
String bundleRange)
protected void validateAdminOperationOnTopic(org.apache.pulsar.common.naming.TopicName topicName,
boolean authoritative)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.