Class NonPersistentTopics
- 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.v1.PersistentTopics
-
- org.apache.pulsar.broker.admin.v1.NonPersistentTopics
-
@Path("/non-persistent") @Produces("application/json") public class NonPersistentTopics extends PersistentTopics
-
-
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 NonPersistentTopics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreatePartitionedTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String encodedTopic, int numPartitions, boolean createLocalTopicOnly)org.apache.pulsar.common.policies.data.PersistentTopicInternalStatsgetInternalStats(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean metadata)voidgetList(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String nsBundle)java.util.List<java.lang.String>getListFromBundle(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String bundleRange)voidgetPartitionedMetadata(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean checkAllowAutoCreation)org.apache.pulsar.common.policies.data.NonPersistentTopicStatsgetStats(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, boolean getPreciseBacklog)voidunloadTopic(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative)-
Methods inherited from class org.apache.pulsar.broker.admin.v1.PersistentTopics
compact, compactionStatus, createNonPartitionedTopic, createSubscription, deletePartitionedTopic, deleteSubscription, deleteTopic, expireMessagesForAllSubscriptions, expireTopicMessages, expireTopicMessages, getBacklog, getLastMessageId, getManagedLedgerInfo, getMessageByID, getPartitionedStats, getPartitionedStatsInternal, getPartitionedTopicList, getPermissionsOnTopic, getReplicatedSubscriptionStatus, getSubscriptions, grantPermissionsOnTopic, offloadStatus, peekNthMessage, resetCursor, resetCursorOnPosition, revokePermissionsOnTopic, setReplicatedSubscriptionStatus, skipAllMessages, skipMessages, terminate, terminatePartitionedTopic, triggerOffload, updatePartitionedTopic
-
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
-
getPartitionedMetadata
@GET @Path("/{property}/{cluster}/{namespace}/{topic}/partitions") public void getPartitionedMetadata(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @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)- Overrides:
getPartitionedMetadatain classPersistentTopics
-
getStats
@GET @Path("{property}/{cluster}/{namespace}/{topic}/stats") public org.apache.pulsar.common.policies.data.NonPersistentTopicStats getStats(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @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)- Overrides:
getStatsin classPersistentTopics
-
getInternalStats
@GET @Path("{property}/{cluster}/{namespace}/{topic}/internalStats") public org.apache.pulsar.common.policies.data.PersistentTopicInternalStats getInternalStats(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @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)- Overrides:
getInternalStatsin classPersistentTopics
-
createPartitionedTopic
@PUT @Path("/{property}/{cluster}/{namespace}/{topic}/partitions") public void createPartitionedTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, int numPartitions, @QueryParam("createLocalTopicOnly") @DefaultValue("false") boolean createLocalTopicOnly)- Overrides:
createPartitionedTopicin classPersistentTopics
-
unloadTopic
@PUT @Path("/{property}/{cluster}/{namespace}/{topic}/unload") public void unloadTopic(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)- Overrides:
unloadTopicin classPersistentTopics
-
getList
@GET @Path("/{property}/{cluster}/{namespace}") public void getList(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @QueryParam("bundle") java.lang.String nsBundle)- Overrides:
getListin classPersistentTopics
-
getListFromBundle
@GET @Path("/{property}/{cluster}/{namespace}/{bundle}") public java.util.List<java.lang.String> getListFromBundle(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("bundle") java.lang.String bundleRange)
-
-