Class Namespaces
java.lang.Object
org.apache.pulsar.broker.web.PulsarWebResource
org.apache.pulsar.broker.admin.AdminResource
org.apache.pulsar.broker.admin.impl.NamespacesBase
org.apache.pulsar.broker.admin.v2.Namespaces
@Path("/namespaces")
@Produces("application/json")
@Consumes("application/json")
public class Namespaces
extends NamespacesBase
-
Field Summary
Fields inherited from class org.apache.pulsar.broker.admin.AdminResource
namespaceName, topicNameFields inherited from class org.apache.pulsar.broker.web.PulsarWebResource
httpRequest, servletContext, uri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearNamespaceBacklog(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, boolean authoritative) voidclearNamespaceBacklogForSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String subscription, boolean authoritative) voidclearNamespaceBundleBacklog(String tenant, String namespace, String bundleRange, boolean authoritative) voidclearNamespaceBundleBacklogForSubscription(String tenant, String namespace, String subscription, String bundleRange, boolean authoritative) voidclearOffloadDeletionLag(String tenant, String namespace) voidclearProperties(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidcreateNamespace(javax.ws.rs.container.AsyncResponse response, String tenant, String namespace, org.apache.pulsar.common.policies.data.Policies policies) voiddeleteBookieAffinityGroup(String property, String namespace) voiddeleteCompactionThreshold(String tenant, String namespace) voiddeleteDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voiddeleteNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, boolean force, boolean authoritative) voiddeleteNamespaceBundle(javax.ws.rs.container.AsyncResponse response, String tenant, String namespace, String bundleRange, boolean force, boolean authoritative) voiddeletePersistence(String tenant, String namespace) voiddeleteSubscribeRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voiddeleteSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) getAntiAffinityNamespaces(String cluster, String antiAffinityGroup, String tenant) voidgetAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetBacklogQuotaMap(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) org.apache.pulsar.common.policies.data.BookieAffinityGroupDatagetBookieAffinityGroup(String property, String namespace) voidgetBundlesData(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetCompactionThreshold(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetDeduplication(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetDeduplicationSnapshotInterval(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetDelayedDeliveryPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetEncryptionRequired(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetInactiveTopicPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetIsAllowAutoUpdateSchema(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetMaxConsumersPerSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetMaxConsumersPerTopic(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetMaxProducersPerTopic(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetMaxSubscriptionsPerTopic(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetMaxTopicsPerNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetMaxUnackedMessagesPerConsumer(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetMaxUnackedmessagesPerSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) getNamespaceAntiAffinityGroup(String tenant, String namespace) voidgetNamespaceMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetNamespaceReplicationClusters(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetNamespaceResourceGroup(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetOffloadDeletionLag(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetOffloadPolicies(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetOffloadThreshold(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetPermissionOnSubscription(javax.ws.rs.container.AsyncResponse response, String tenant, String namespace) voidgetPermissions(javax.ws.rs.container.AsyncResponse response, String tenant, String namespace) voidgetPersistence(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetPolicies(javax.ws.rs.container.AsyncResponse response, String tenant, String namespace) voidgetProperties(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetProperty(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String key) voidgetPublishRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String namespace) voidgetReplicatorDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetRetention(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategygetSchemaAutoUpdateCompatibilityStrategy(String tenant, String namespace) voidgetSchemaCompatibilityStrategy(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetSchemaValidtionEnforced(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, boolean applied) voidgetSubscribeRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetSubscriptionAuthMode(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetSubscriptionExpirationTime(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetSubscriptionTypesEnabled(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidgetTenantNamespaces(javax.ws.rs.container.AsyncResponse response, String tenant) voidgetTopicHashPositions(String tenant, String namespace, String bundleRange, List<String> topics, javax.ws.rs.container.AsyncResponse asyncResponse) voidgetTopics(javax.ws.rs.container.AsyncResponse response, String tenant, String namespace, org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode mode, boolean includeSystemTopic) voidgrantPermissionOnNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String role, Set<org.apache.pulsar.common.policies.data.AuthAction> actions) voidgrantPermissionOnSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String namespace, String subscription, Set<String> roles) voidmodifyDeduplication(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, boolean enableDeduplication) voidmodifyEncryptionRequired(String tenant, String namespace, boolean encryptionRequired) voidremoveAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidremoveAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidremoveBacklogQuota(String tenant, String namespace, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType) voidremoveDeduplication(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidremoveDelayedDeliveryPolicies(String tenant, String namespace) voidremoveInactiveTopicPolicies(String tenant, String namespace) voidremoveMaxConsumersPerSubscription(String tenant, String namespace) voidremoveMaxConsumersPerTopic(String tenant, String namespace) voidremoveMaxProducersPerTopic(String tenant, String namespace) voidremoveMaxSubscriptionsPerTopic(String tenant, String namespace) voidremoveMaxUnackedmessagesPerConsumer(String tenant, String namespace) voidremoveMaxUnackedmessagesPerSubscription(String tenant, String namespace) voidremoveNamespaceAntiAffinityGroup(String tenant, String namespace) voidremoveNamespaceMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidremoveNamespaceResourceGroup(String tenant, String namespace) voidremoveOffloadPolicies(String tenant, String namespace, javax.ws.rs.container.AsyncResponse asyncResponse) voidremoveProperty(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String key) voidremovePublishRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String namespace) voidremoveReplicatorDispatchRate(String tenant, String namespace) voidremoveRetention(String tenant, String namespace, org.apache.pulsar.common.policies.data.RetentionPolicies retention) voidremoveSubscriptionExpirationTime(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidremoveSubscriptionTypesEnabled(String tenant, String namespace) voidrevokePermissionOnSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String namespace, String subscription, String role) voidrevokePermissionsOnNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String role) javax.ws.rs.core.ResponsescanOffloadedLedgers(String tenant, String namespace) voidsetAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride) voidsetAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride) voidsetBacklogQuota(String tenant, String namespace, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota) voidsetBookieAffinityGroup(String tenant, String namespace, org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup) voidsetCompactionThreshold(String tenant, String namespace, long newThreshold) voidsetDeduplicationSnapshotInterval(String tenant, String namespace, Integer interval) voidsetDelayedDeliveryPolicies(String tenant, String namespace, org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies deliveryPolicies) voidsetDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) voidsetInactiveTopicPolicies(String tenant, String namespace) voidsetInactiveTopicPolicies(String tenant, String namespace, int maxTopicsPerNamespace) voidsetInactiveTopicPolicies(String tenant, String namespace, org.apache.pulsar.common.policies.data.InactiveTopicPolicies inactiveTopicPolicies) voidsetIsAllowAutoUpdateSchema(String tenant, String namespace, boolean isAllowAutoUpdateSchema) voidsetMaxConsumersPerSubscription(String tenant, String namespace, int maxConsumersPerSubscription) voidsetMaxConsumersPerTopic(String tenant, String namespace, int maxConsumersPerTopic) voidsetMaxProducersPerTopic(String tenant, String namespace, int maxProducersPerTopic) voidsetMaxSubscriptionsPerTopic(String tenant, String namespace, int maxSubscriptionsPerTopic) voidsetMaxUnackedMessagesPerConsumer(String tenant, String namespace, int maxUnackedMessagesPerConsumer) voidsetMaxUnackedMessagesPerSubscription(String tenant, String namespace, int maxUnackedMessagesPerSubscription) voidsetNamespaceAntiAffinityGroup(String tenant, String namespace, String antiAffinityGroup) voidsetNamespaceMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, int messageTTL) voidsetNamespaceReplicationClusters(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, List<String> clusterIds) voidsetNamespaceResourceGroup(String tenant, String namespace, String rgName) voidsetOffloadDeletionLag(String tenant, String namespace, long newDeletionLagMs) voidsetOffloadPolicies(String tenant, String namespace, org.apache.pulsar.common.policies.data.OffloadPoliciesImpl offload, javax.ws.rs.container.AsyncResponse asyncResponse) voidsetOffloadThreshold(String tenant, String namespace, long newThreshold) voidsetPersistence(String tenant, String namespace, org.apache.pulsar.common.policies.data.PersistencePolicies persistence) voidsetProperties(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, Map<String, String> properties) voidsetProperty(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String key, String value) voidsetPublishRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String namespace, org.apache.pulsar.common.policies.data.PublishRate publishRate) voidsetReplicatorDispatchRate(String tenant, String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) voidsetRetention(String tenant, String namespace, org.apache.pulsar.common.policies.data.RetentionPolicies retention) voidsetSchemaAutoUpdateCompatibilityStrategy(String tenant, String namespace, org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy) voidsetSchemaCompatibilityStrategy(String tenant, String namespace, org.apache.pulsar.common.policies.data.SchemaCompatibilityStrategy strategy) voidsetSchemaValidationEnforced(String tenant, String namespace, boolean schemaValidationEnforced) voidsetSubscribeRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, org.apache.pulsar.common.policies.data.SubscribeRate subscribeRate) voidsetSubscriptionAuthMode(String tenant, String namespace, org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode) voidsetSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) voidsetSubscriptionExpirationTime(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, int expirationTime) voidsetSubscriptionTypesEnabled(String tenant, String namespace, Set<org.apache.pulsar.client.api.SubscriptionType> subscriptionTypesEnabled) voidsplitNamespaceBundle(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String bundleRange, boolean authoritative, boolean unload, String splitAlgorithmName, List<Long> splitBoundaries) voidunloadNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace) voidunloadNamespaceBundle(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String bundleRange, boolean authoritative) voidunsubscribeNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String namespace, String subscription, boolean authoritative) voidunsubscribeNamespaceBundle(String tenant, String namespace, String subscription, String bundleRange, boolean authoritative) Methods inherited from class org.apache.pulsar.broker.admin.impl.NamespacesBase
internalClearNamespaceBacklog, internalClearNamespaceBacklogForSubscription, internalClearNamespaceBundleBacklog, internalClearNamespaceBundleBacklogForSubscription, internalClearProperties, internalClearZkSources, internalCreateNamespace, internalDeleteBookieAffinityGroup, internalDeleteNamespace, internalDeleteNamespace, internalDeleteNamespaceBundleAsync, internalDeleteNamespaceForcefully, internalDeletePersistence, internalDeleteSubscribeRateAsync, internalDeleteSubscriptionDispatchRateAsync, internalDeleteTopicDispatchRate, internalDeleteTopicDispatchRateAsync, internalGetAntiAffinityNamespaces, internalGetAutoSubscriptionCreationAsync, internalGetAutoTopicCreationAsync, internalGetBookieAffinityGroup, internalGetDeduplicationAsync, internalGetEncryptionRequired, internalGetListOfTopics, internalGetNamespaceAntiAffinityGroup, internalGetNamespaceReplicationClustersAsync, internalGetNonPersistentTopics, internalGetProperties, internalGetProperty, internalGetPublishRateAsync, internalGetReplicatorDispatchRateAsync, internalGetSchemaAutoUpdateCompatibilityStrategy, internalGetSubscribeRateAsync, internalGetSubscriptionDispatchRateAsync, internalGetTenantNamespaces, internalGetTopicDispatchRateAsync, internalGetTopicHashPositionsAsync, internalGrantPermissionOnNamespaceAsync, internalGrantPermissionOnSubscriptionAsync, internalModifyDeduplicationAsync, internalModifyEncryptionRequired, internalRemoveBacklogQuota, internalRemoveMaxTopicsPerNamespace, internalRemoveNamespaceAntiAffinityGroup, internalRemoveOffloadPolicies, internalRemoveProperty, internalRemovePublishRate, internalRemovePublishRateAsync, internalRemoveReplicatorDispatchRate, internalRevokePermissionsOnNamespaceAsync, internalRevokePermissionsOnSubscriptionAsync, internalScanOffloadedLedgers, internalSetAutoSubscriptionCreationAsync, internalSetAutoTopicCreationAsync, internalSetBacklogQuota, internalSetBookieAffinityGroup, internalSetCompactionThreshold, internalSetDeduplicationSnapshotInterval, internalSetDelayedDelivery, internalSetInactiveTopic, internalSetIsAllowAutoUpdateSchema, internalSetMaxConsumersPerSubscription, internalSetMaxConsumersPerTopic, internalSetMaxProducersPerTopic, internalSetMaxSubscriptionsPerTopic, internalSetMaxTopicsPerNamespace, internalSetMaxUnackedMessagesPerConsumer, internalSetMaxUnackedMessagesPerSubscription, internalSetNamespaceAntiAffinityGroup, internalSetNamespaceMessageTTLAsync, internalSetNamespaceReplicationClusters, internalSetNamespaceResourceGroup, internalSetOffloadDeletionLag, internalSetOffloadPolicies, internalSetOffloadThreshold, internalSetPersistence, internalSetPolicies, internalSetProperties, internalSetProperty, internalSetPublishRate, internalSetPublishRateAsync, internalSetReplicatorDispatchRate, internalSetRetention, internalSetSchemaAutoUpdateCompatibilityStrategy, internalSetSchemaCompatibilityStrategy, internalSetSchemaValidationEnforced, internalSetSubscribeRateAsync, internalSetSubscriptionAuthMode, internalSetSubscriptionDispatchRateAsync, internalSetSubscriptionExpirationTimeAsync, internalSetSubscriptionTypesEnabled, internalSetTopicDispatchRate, internalSetTopicDispatchRateAsync, internalSplitNamespaceBundleAsync, internalUnloadNamespace, internalUnloadNamespaceAsync, internalUnloadNamespaceBundleAsync, internalUnsubscribeNamespace, internalUnsubscribeNamespaceBundle, validateBundlesData, validateRetentionPoliciesMethods inherited from class org.apache.pulsar.broker.admin.AdminResource
bookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, clustersAsync, dispatchRate, domain, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, filterSystemTopic, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getNamespaceReplicatedClustersAsync, getPartitionedTopicList, getPartitionedTopicListAsync, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getPartitionedTopicNotFoundErrorMessage, getSchemaCompatibilityStrategyAsync, getSchemaCompatibilityStrategyAsyncWithoutAuth, getSubNotFoundErrorMessage, getTopicNotFoundErrorMessage, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, internalCreatePartitionedTopic, isLeaderBroker, isManagedLedgerNotFoundException, isNamespaceReplicated, isNotFoundException, isRedirectException, jsonMapper, namespaceBacklogQuota, replicatorDispatchRate, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreateExtendedPartitionsAsync, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateAndGetWorkerService, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadataAsync, validatePartitionedTopicName, validatePersistencePolicies, validatePersistentTopicName, validatePersistentTopicName, validatePoliciesReadOnlyAccess, validatePoliciesReadOnlyAccessAsync, validateSuperUserAccess, validateTopicName, validateTopicNameMethods 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, resumeAsyncResponseExceptionally, setPulsar, splitPath, sync, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateBundleOwnershipAsync, validateClusterForTenant, validateClusterForTenantAsync, validateClusterOwnership, validateClusterOwnershipAsync, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleOwnershipAsync, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateNamespacePolicyOperationAsync, validatePeerClusterConflict, validatePeerClusterConflictAsync, validateSuperUserAccessAsync, validateTenantOperation, validateTenantOperationAsync, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation, validateTopicPolicyOperationAsync
-
Constructor Details
-
Namespaces
public Namespaces()
-
-
Method Details
-
getTenantNamespaces
@GET @Path("/{tenant}") public void getTenantNamespaces(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant) -
getTopics
@GET @Path("/{tenant}/{namespace}/topics") public void getTopics(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @QueryParam("mode") @DefaultValue("PERSISTENT") org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode mode, @QueryParam("includeSystemTopic") boolean includeSystemTopic) -
getPolicies
-
createNamespace
-
deleteNamespace
@DELETE @Path("/{tenant}/{namespace}") public void deleteNamespace(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
deleteNamespaceBundle
@DELETE @Path("/{tenant}/{namespace}/{bundle}") public void deleteNamespaceBundle(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
getPermissions
-
getPermissionOnSubscription
-
grantPermissionOnNamespace
@POST @Path("/{tenant}/{namespace}/permissions/{role}") public void grantPermissionOnNamespace(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("role") String role, Set<org.apache.pulsar.common.policies.data.AuthAction> actions) -
grantPermissionOnSubscription
@POST @Path("/{property}/{namespace}/permissions/subscription/{subscription}") public void grantPermissionOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, Set<String> roles) -
revokePermissionsOnNamespace
-
revokePermissionOnSubscription
@DELETE @Path("/{property}/{namespace}/permissions/{subscription}/{role}") public void revokePermissionOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @PathParam("role") String role) -
getNamespaceReplicationClusters
-
setNamespaceReplicationClusters
-
getNamespaceMessageTTL
-
setNamespaceMessageTTL
-
removeNamespaceMessageTTL
-
getSubscriptionExpirationTime
-
setSubscriptionExpirationTime
-
removeSubscriptionExpirationTime
-
getDeduplication
-
modifyDeduplication
-
removeDeduplication
-
getAutoTopicCreation
-
setAutoTopicCreation
@POST @Path("/{tenant}/{namespace}/autoTopicCreation") public void setAutoTopicCreation(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride) -
removeAutoTopicCreation
-
setAutoSubscriptionCreation
@POST @Path("/{tenant}/{namespace}/autoSubscriptionCreation") public void setAutoSubscriptionCreation(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride) -
getAutoSubscriptionCreation
-
removeAutoSubscriptionCreation
-
getBundlesData
-
unloadNamespace
-
unloadNamespaceBundle
@PUT @Path("/{tenant}/{namespace}/{bundle}/unload") public void unloadNamespaceBundle(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
splitNamespaceBundle
@PUT @Path("/{tenant}/{namespace}/{bundle}/split") public void splitNamespaceBundle(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("unload") @DefaultValue("false") boolean unload, @QueryParam("splitAlgorithmName") String splitAlgorithmName, List<Long> splitBoundaries) -
getTopicHashPositions
@GET @Path("/{tenant}/{namespace}/{bundle}/topicHashPositions") public void getTopicHashPositions(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, @QueryParam("topics") List<String> topics, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse) -
setPublishRate
-
removePublishRate
-
getPublishRate
-
setDispatchRate
-
deleteDispatchRate
-
getDispatchRate
-
setSubscriptionDispatchRate
@POST @Path("/{tenant}/{namespace}/subscriptionDispatchRate") public void setSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) -
getSubscriptionDispatchRate
-
deleteSubscriptionDispatchRate
-
deleteSubscribeRate
-
setSubscribeRate
-
getSubscribeRate
-
removeReplicatorDispatchRate
-
setReplicatorDispatchRate
-
getReplicatorDispatchRate
-
getBacklogQuotaMap
-
setBacklogQuota
@POST @Path("/{tenant}/{namespace}/backlogQuota") public void setBacklogQuota(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @QueryParam("backlogQuotaType") org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota) -
removeBacklogQuota
-
getRetention
-
setRetention
-
removeRetention
-
setPersistence
-
deletePersistence
-
setBookieAffinityGroup
-
getBookieAffinityGroup
-
deleteBookieAffinityGroup
-
getPersistence
-
clearNamespaceBacklog
-
clearNamespaceBundleBacklog
-
clearNamespaceBacklogForSubscription
@POST @Path("/{tenant}/{namespace}/clearBacklog/{subscription}") public void clearNamespaceBacklogForSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
clearNamespaceBundleBacklogForSubscription
@POST @Path("/{tenant}/{namespace}/{bundle}/clearBacklog/{subscription}") public void clearNamespaceBundleBacklogForSubscription(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @PathParam("bundle") String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
unsubscribeNamespace
@POST @Path("/{tenant}/{namespace}/unsubscribe/{subscription}") public void unsubscribeNamespace(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
unsubscribeNamespaceBundle
@POST @Path("/{tenant}/{namespace}/{bundle}/unsubscribe/{subscription}") public void unsubscribeNamespaceBundle(@PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @PathParam("bundle") String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
setSubscriptionAuthMode
-
getSubscriptionAuthMode
-
modifyEncryptionRequired
-
getEncryptionRequired
-
getDelayedDeliveryPolicies
-
setDelayedDeliveryPolicies
-
removeDelayedDeliveryPolicies
-
getInactiveTopicPolicies
-
removeInactiveTopicPolicies
-
setInactiveTopicPolicies
-
getMaxProducersPerTopic
-
setMaxProducersPerTopic
-
removeMaxProducersPerTopic
-
getDeduplicationSnapshotInterval
-
setDeduplicationSnapshotInterval
-
getMaxConsumersPerTopic
-
setMaxConsumersPerTopic
-
removeMaxConsumersPerTopic
-
getMaxConsumersPerSubscription
-
setMaxConsumersPerSubscription
-
removeMaxConsumersPerSubscription
-
getMaxUnackedMessagesPerConsumer
-
setMaxUnackedMessagesPerConsumer
-
removeMaxUnackedmessagesPerConsumer
-
getMaxUnackedmessagesPerSubscription
-
setMaxUnackedMessagesPerSubscription
-
removeMaxUnackedmessagesPerSubscription
-
getMaxSubscriptionsPerTopic
-
setMaxSubscriptionsPerTopic
-
removeMaxSubscriptionsPerTopic
-
setNamespaceAntiAffinityGroup
-
getNamespaceAntiAffinityGroup
-
removeNamespaceAntiAffinityGroup
-
getAntiAffinityNamespaces
-
getCompactionThreshold
-
setCompactionThreshold
-
deleteCompactionThreshold
-
getOffloadThreshold
-
setOffloadThreshold
-
getOffloadDeletionLag
-
setOffloadDeletionLag
-
clearOffloadDeletionLag
-
getSchemaAutoUpdateCompatibilityStrategy
-
setSchemaAutoUpdateCompatibilityStrategy
-
getSchemaCompatibilityStrategy
-
setSchemaCompatibilityStrategy
-
getIsAllowAutoUpdateSchema
-
setIsAllowAutoUpdateSchema
-
getSubscriptionTypesEnabled
-
setSubscriptionTypesEnabled
-
removeSubscriptionTypesEnabled
-
getSchemaValidtionEnforced
@GET @Path("/{tenant}/{namespace}/schemaValidationEnforced") public void getSchemaValidtionEnforced(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @QueryParam("applied") @DefaultValue("false") boolean applied) -
setSchemaValidationEnforced
-
setOffloadPolicies
-
removeOffloadPolicies
-
getOffloadPolicies
-
getMaxTopicsPerNamespace
-
setInactiveTopicPolicies
-
setInactiveTopicPolicies
-
setProperty
-
getProperty
-
removeProperty
-
setProperties
-
getProperties
-
clearProperties
-
getNamespaceResourceGroup
-
setNamespaceResourceGroup
-
removeNamespaceResourceGroup
-
scanOffloadedLedgers
-