@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 property,
String cluster,
String namespace,
String encodedTopic,
int numPartitions) |
org.apache.pulsar.common.policies.data.PersistentTopicInternalStats |
getInternalStats(String property,
String cluster,
String namespace,
String encodedTopic,
boolean authoritative,
boolean metadata) |
void |
getList(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace) |
List<String> |
getListFromBundle(String property,
String cluster,
String namespace,
String bundleRange) |
org.apache.pulsar.common.partition.PartitionedTopicMetadata |
getPartitionedMetadata(String property,
String cluster,
String namespace,
String encodedTopic,
boolean authoritative,
boolean checkAllowAutoCreation) |
org.apache.pulsar.common.policies.data.NonPersistentTopicStats |
getStats(String property,
String cluster,
String namespace,
String encodedTopic,
boolean authoritative) |
void |
unloadTopic(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace,
String encodedTopic,
boolean authoritative) |
protected void |
validateAdminOperationOnTopic(org.apache.pulsar.common.naming.TopicName topicName,
boolean authoritative) |
compact, compactionStatus, createSubscription, deletePartitionedTopic, deleteSubscription, deleteTopic, expireMessagesForAllSubscriptions, expireTopicMessages, expireTopicMessages, getBacklog, getLastMessageId, getManagedLedgerInfo, getMessageByID, getPartitionedStats, getPartitionedStatsInternal, getPartitionedTopicList, getPermissionsOnTopic, getSubscriptions, grantPermissionsOnTopic, offloadStatus, peekNthMessage, resetCursor, resetCursorOnPosition, revokePermissionsOnTopic, 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="/{property}/{cluster}/{namespace}/{topic}/partitions")
public org.apache.pulsar.common.partition.PartitionedTopicMetadata getPartitionedMetadata(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@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="{property}/{cluster}/{namespace}/{topic}/stats")
public org.apache.pulsar.common.policies.data.NonPersistentTopicStats getStats(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
getStats in class PersistentTopics@GET
@Path(value="{property}/{cluster}/{namespace}/{topic}/internalStats")
public org.apache.pulsar.common.policies.data.PersistentTopicInternalStats getInternalStats(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@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="/{property}/{cluster}/{namespace}/{topic}/partitions")
public void createPartitionedTopic(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
int numPartitions)
createPartitionedTopic in class PersistentTopics@PUT
@Path(value="/{property}/{cluster}/{namespace}/{topic}/unload")
public void unloadTopic(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@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="/{property}/{cluster}/{namespace}")
public void getList(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
getList in class PersistentTopics@GET
@Path(value="/{property}/{cluster}/{namespace}/{bundle}")
public List<String> getListFromBundle(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@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.