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.v1.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, topicName
-
Fields inherited from class org.apache.pulsar.broker.web.PulsarWebResource
httpRequest, servletContext, uri
-
-
Constructor Summary
Constructors Constructor Description Namespaces()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearNamespaceBacklog(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, boolean authoritative)voidclearNamespaceBacklogForSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String subscription, boolean authoritative)voidclearNamespaceBundleBacklog(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String bundleRange, boolean authoritative)voidclearNamespaceBundleBacklogForSubscription(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String subscription, java.lang.String bundleRange, boolean authoritative)voidcreateNamespace(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.BundlesData initialBundles)voiddeleteBookieAffinityGroup(java.lang.String property, java.lang.String cluster, java.lang.String namespace)voiddeleteNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, boolean force, boolean authoritative)voiddeleteNamespaceBundle(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String bundleRange, boolean force, boolean authoritative)voiddeleteSubscriptionDispatchRate(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.util.List<java.lang.String>getAntiAffinityNamespaces(java.lang.String cluster, java.lang.String antiAffinityGroup, java.lang.String property)org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverridegetAutoSubscriptionCreation(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.AutoTopicCreationOverridegetAutoTopicCreation(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.util.Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,org.apache.pulsar.common.policies.data.BacklogQuota>getBacklogQuotaMap(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.BookieAffinityGroupDatagetBookieAffinityGroup(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.BundlesDatagetBundlesData(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.lang.LonggetCompactionThreshold(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.DispatchRategetDispatchRate(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.lang.BooleangetEncryptionRequired(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.lang.IntegergetMaxConsumersPerSubscription(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.lang.IntegergetMaxConsumersPerTopic(java.lang.String property, java.lang.String cluster, java.lang.String namespace)intgetMaxProducersPerTopic(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.lang.StringgetNamespaceAntiAffinityGroup(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.lang.IntegergetNamespaceMessageTTL(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.util.Set<java.lang.String>getNamespaceReplicationClusters(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.util.List<java.lang.String>getNamespacesForCluster(java.lang.String tenant, java.lang.String cluster)longgetOffloadThreshold(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.util.Map<java.lang.String,java.util.Set<java.lang.String>>getPermissionOnSubscription(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.util.Map<java.lang.String,java.util.Set<org.apache.pulsar.common.policies.data.AuthAction>>getPermissions(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.PersistencePoliciesgetPersistence(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.PoliciesgetPolicies(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.PublishRategetPublishRate(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.DispatchRategetReplicatorDispatchRate(java.lang.String tenant, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.RetentionPoliciesgetRetention(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategygetSchemaAutoUpdateCompatibilityStrategy(java.lang.String tenant, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.SubscriptionAuthModegetSubscriptionAuthMode(java.lang.String property, java.lang.String cluster, java.lang.String namespace)org.apache.pulsar.common.policies.data.DispatchRategetSubscriptionDispatchRate(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.lang.IntegergetSubscriptionExpirationTime(java.lang.String property, java.lang.String cluster, java.lang.String namespace)java.util.List<java.lang.String>getTenantNamespaces(java.lang.String property)voidgetTopics(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode mode, javax.ws.rs.container.AsyncResponse asyncResponse)voidgrantPermissionOnNamespace(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String role, java.util.Set<org.apache.pulsar.common.policies.data.AuthAction> actions)voidgrantPermissionOnSubscription(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String subscription, java.util.Set<java.lang.String> roles)voidmodifyDeduplication(java.lang.String property, java.lang.String cluster, java.lang.String namespace, boolean enableDeduplication)voidmodifyEncryptionRequired(java.lang.String property, java.lang.String cluster, java.lang.String namespace, boolean encryptionRequired)voidremoveAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace)voidremoveAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace)voidremoveBacklogQuota(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType)voidremoveMaxConsumersPerSubscription(java.lang.String property, java.lang.String cluster, java.lang.String namespace)voidremoveNamespaceAntiAffinityGroup(java.lang.String property, java.lang.String cluster, java.lang.String namespace)voidremoveNamespaceMessageTTL(java.lang.String property, java.lang.String cluster, java.lang.String namespace)voidremoveSubscriptionExpirationTime(java.lang.String property, java.lang.String cluster, java.lang.String namespace)voidrevokePermissionOnSubscription(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String subscription, java.lang.String role)voidrevokePermissionsOnNamespace(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String role)voidsetAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride)voidsetAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride)voidsetBacklogQuota(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota)voidsetBookieAffinityGroup(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup)voidsetCompactionThreshold(java.lang.String property, java.lang.String cluster, java.lang.String namespace, long newThreshold)voidsetDispatchRate(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)voidsetMaxConsumersPerSubscription(java.lang.String property, java.lang.String cluster, java.lang.String namespace, int maxConsumersPerSubscription)voidsetMaxConsumersPerTopic(java.lang.String property, java.lang.String cluster, java.lang.String namespace, int maxConsumersPerTopic)voidsetMaxProducersPerTopic(java.lang.String property, java.lang.String cluster, java.lang.String namespace, int maxProducersPerTopic)voidsetNamespaceAntiAffinityGroup(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String antiAffinityGroup)voidsetNamespaceMessageTTL(java.lang.String property, java.lang.String cluster, java.lang.String namespace, int messageTTL)voidsetNamespaceReplicationClusters(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.util.List<java.lang.String> clusterIds)voidsetOffloadThreshold(java.lang.String property, java.lang.String cluster, java.lang.String namespace, long newThreshold)voidsetPersistence(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.PersistencePolicies persistence)voidsetPublishRate(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.PublishRate publishRate)voidsetReplicatorDispatchRate(java.lang.String tenant, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)voidsetRetention(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.RetentionPolicies retention)voidsetSchemaAutoUpdateCompatibilityStrategy(java.lang.String tenant, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy)voidsetSubscriptionAuthMode(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode)voidsetSubscriptionDispatchRate(java.lang.String property, java.lang.String cluster, java.lang.String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)voidsetSubscriptionExpirationTime(java.lang.String property, java.lang.String cluster, java.lang.String namespace, int expirationTime)voidsplitNamespaceBundle(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String bundleRange, boolean authoritative, boolean unload)voidunloadNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace)voidunloadNamespaceBundle(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String bundleRange, boolean authoritative)voidunsubscribeNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String subscription, boolean authoritative)voidunsubscribeNamespaceBundle(java.lang.String property, java.lang.String cluster, java.lang.String namespace, java.lang.String subscription, java.lang.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, internalDeleteNamespaceBundle, internalDeleteNamespaceBundle, internalDeleteNamespaceBundleForcefully, internalDeleteNamespaceForcefully, internalDeletePersistence, internalDeleteSubscribeRate, internalDeleteSubscriptionDispatchRate, internalDeleteTopicDispatchRate, internalGetAntiAffinityNamespaces, internalGetAutoSubscriptionCreation, internalGetAutoTopicCreation, internalGetBookieAffinityGroup, internalGetCompactionThreshold, internalGetDeduplication, internalGetDeduplicationSnapshotInterval, internalGetDelayedDelivery, internalGetEncryptionRequired, internalGetInactiveTopic, internalGetIsAllowAutoUpdateSchema, internalGetListOfTopics, internalGetMaxConsumersPerSubscription, internalGetMaxConsumersPerTopic, internalGetMaxProducersPerTopic, internalGetMaxSubscriptionsPerTopic, internalGetMaxTopicsPerNamespace, internalGetMaxUnackedMessagesPerConsumer, internalGetMaxUnackedMessagesPerSubscription, internalGetNamespaceAntiAffinityGroup, internalGetNamespaceReplicationClusters, internalGetNonPersistentTopics, internalGetOffloadDeletionLag, internalGetOffloadPolicies, internalGetOffloadThreshold, internalGetPersistence, internalGetProperties, internalGetProperty, internalGetPublishRate, internalGetReplicatorDispatchRate, internalGetRetention, internalGetSchemaAutoUpdateCompatibilityStrategy, internalGetSchemaCompatibilityStrategy, internalGetSchemaValidationEnforced, internalGetSubscribeRate, internalGetSubscriptionAuthMode, internalGetSubscriptionDispatchRate, internalGetSubscriptionTypesEnabled, internalGetTenantNamespaces, internalGetTopicDispatchRate, internalGrantPermissionOnNamespace, internalGrantPermissionOnSubscription, internalModifyDeduplication, internalModifyEncryptionRequired, internalRemoveAutoSubscriptionCreation, internalRemoveAutoTopicCreation, internalRemoveBacklogQuota, internalRemoveMaxTopicsPerNamespace, internalRemoveNamespaceAntiAffinityGroup, internalRemoveOffloadPolicies, internalRemoveProperty, internalRemovePublishRate, internalRemoveReplicatorDispatchRate, internalRevokePermissionsOnNamespace, internalRevokePermissionsOnSubscription, internalSetAutoSubscriptionCreation, internalSetAutoTopicCreation, internalSetBacklogQuota, internalSetBookieAffinityGroup, internalSetCompactionThreshold, internalSetDeduplicationSnapshotInterval, internalSetDelayedDelivery, internalSetInactiveTopic, internalSetIsAllowAutoUpdateSchema, internalSetMaxConsumersPerSubscription, internalSetMaxConsumersPerTopic, internalSetMaxProducersPerTopic, internalSetMaxSubscriptionsPerTopic, internalSetMaxTopicsPerNamespace, internalSetMaxUnackedMessagesPerConsumer, internalSetMaxUnackedMessagesPerSubscription, internalSetNamespaceAntiAffinityGroup, internalSetNamespaceMessageTTL, internalSetNamespaceReplicationClusters, internalSetNamespaceResourceGroup, internalSetOffloadDeletionLag, internalSetOffloadPolicies, internalSetOffloadThreshold, internalSetPersistence, internalSetPolicies, internalSetProperties, internalSetProperty, internalSetPublishRate, internalSetReplicatorDispatchRate, internalSetRetention, internalSetSchemaAutoUpdateCompatibilityStrategy, internalSetSchemaCompatibilityStrategy, internalSetSchemaValidationEnforced, internalSetSubscribeRate, internalSetSubscriptionAuthMode, internalSetSubscriptionDispatchRate, internalSetSubscriptionExpirationTime, internalSetSubscriptionTypesEnabled, internalSetTopicDispatchRate, internalSplitNamespaceBundle, internalUnloadNamespace, internalUnloadNamespaceBundle, internalUnsubscribeNamespace, internalUnsubscribeNamespaceBundle, validateBundlesData, validateRetentionPolicies
-
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
-
getTenantNamespaces
@GET @Path("/{property}") public java.util.List<java.lang.String> getTenantNamespaces(@PathParam("property") java.lang.String property)
-
getNamespacesForCluster
@GET @Path("/{property}/{cluster}") public java.util.List<java.lang.String> getNamespacesForCluster(@PathParam("property") java.lang.String tenant, @PathParam("cluster") java.lang.String cluster)
-
getTopics
@GET @Path("/{property}/{cluster}/{namespace}/destinations") public void getTopics(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @QueryParam("mode") @DefaultValue("PERSISTENT") org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode mode, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
-
getPolicies
@GET @Path("/{property}/{cluster}/{namespace}") public org.apache.pulsar.common.policies.data.Policies getPolicies(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
createNamespace
@PUT @Path("/{property}/{cluster}/{namespace}") public void createNamespace(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.BundlesData initialBundles)
-
deleteNamespace
@DELETE @Path("/{property}/{cluster}/{namespace}") public void deleteNamespace(@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("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
deleteNamespaceBundle
@DELETE @Path("/{property}/{cluster}/{namespace}/{bundle}") public void deleteNamespaceBundle(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("bundle") java.lang.String bundleRange, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
getPermissions
@GET @Path("/{property}/{cluster}/{namespace}/permissions") public java.util.Map<java.lang.String,java.util.Set<org.apache.pulsar.common.policies.data.AuthAction>> getPermissions(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
getPermissionOnSubscription
@GET @Path("/{property}/{cluster}/{namespace}/permissions/subscription") public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getPermissionOnSubscription(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
grantPermissionOnNamespace
@POST @Path("/{property}/{cluster}/{namespace}/permissions/{role}") public void grantPermissionOnNamespace(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("role") java.lang.String role, java.util.Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
-
grantPermissionOnSubscription
@POST @Path("/{property}/{cluster}/{namespace}/permissions/subscription/{subscription}") public void grantPermissionOnSubscription(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("subscription") java.lang.String subscription, java.util.Set<java.lang.String> roles)
-
revokePermissionsOnNamespace
@DELETE @Path("/{property}/{cluster}/{namespace}/permissions/{role}") public void revokePermissionsOnNamespace(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("role") java.lang.String role)
-
revokePermissionOnSubscription
@DELETE @Path("/{property}/{cluster}/{namespace}/permissions/{subscription}/{role}") public void revokePermissionOnSubscription(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("subscription") java.lang.String subscription, @PathParam("role") java.lang.String role)
-
getNamespaceReplicationClusters
@GET @Path("/{property}/{cluster}/{namespace}/replication") public java.util.Set<java.lang.String> getNamespaceReplicationClusters(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setNamespaceReplicationClusters
@POST @Path("/{property}/{cluster}/{namespace}/replication") public void setNamespaceReplicationClusters(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, java.util.List<java.lang.String> clusterIds)
-
getNamespaceMessageTTL
@GET @Path("/{property}/{cluster}/{namespace}/messageTTL") public java.lang.Integer getNamespaceMessageTTL(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setNamespaceMessageTTL
@POST @Path("/{property}/{cluster}/{namespace}/messageTTL") public void setNamespaceMessageTTL(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, int messageTTL)
-
removeNamespaceMessageTTL
@DELETE @Path("/{property}/{cluster}/{namespace}/messageTTL") public void removeNamespaceMessageTTL(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
getSubscriptionExpirationTime
@GET @Path("/{property}/{cluster}/{namespace}/subscriptionExpirationTime") public java.lang.Integer getSubscriptionExpirationTime(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setSubscriptionExpirationTime
@POST @Path("/{property}/{cluster}/{namespace}/subscriptionExpirationTime") public void setSubscriptionExpirationTime(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, int expirationTime)
-
removeSubscriptionExpirationTime
@DELETE @Path("/{property}/{cluster}/{namespace}/subscriptionExpirationTime") public void removeSubscriptionExpirationTime(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setNamespaceAntiAffinityGroup
@POST @Path("/{property}/{cluster}/{namespace}/antiAffinity") public void setNamespaceAntiAffinityGroup(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, java.lang.String antiAffinityGroup)
-
getNamespaceAntiAffinityGroup
@GET @Path("/{property}/{cluster}/{namespace}/antiAffinity") public java.lang.String getNamespaceAntiAffinityGroup(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
getAntiAffinityNamespaces
@GET @Path("{cluster}/antiAffinity/{group}") public java.util.List<java.lang.String> getAntiAffinityNamespaces(@PathParam("cluster") java.lang.String cluster, @PathParam("group") java.lang.String antiAffinityGroup, @QueryParam("property") java.lang.String property)
-
removeNamespaceAntiAffinityGroup
@DELETE @Path("/{property}/{cluster}/{namespace}/antiAffinity") public void removeNamespaceAntiAffinityGroup(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
modifyDeduplication
@POST @Path("/{property}/{cluster}/{namespace}/deduplication") public void modifyDeduplication(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, boolean enableDeduplication)
-
getAutoTopicCreation
@GET @Path("/{property}/{cluster}/{namespace}/autoTopicCreation") public org.apache.pulsar.common.policies.data.AutoTopicCreationOverride getAutoTopicCreation(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setAutoTopicCreation
@POST @Path("/{property}/{cluster}/{namespace}/autoTopicCreation") public void setAutoTopicCreation(@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, org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride)
-
removeAutoTopicCreation
@DELETE @Path("/{property}/{cluster}/{namespace}/autoTopicCreation") public void removeAutoTopicCreation(@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)
-
setAutoSubscriptionCreation
@POST @Path("/{property}/{cluster}/{namespace}/autoSubscriptionCreation") public void setAutoSubscriptionCreation(@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, org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride)
-
getAutoSubscriptionCreation
@GET @Path("/{property}/{cluster}/{namespace}/autoSubscriptionCreation") public org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride getAutoSubscriptionCreation(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
removeAutoSubscriptionCreation
@DELETE @Path("/{property}/{cluster}/{namespace}/autoSubscriptionCreation") public void removeAutoSubscriptionCreation(@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)
-
getBundlesData
@GET @Path("/{property}/{cluster}/{namespace}/bundles") public org.apache.pulsar.common.policies.data.BundlesData getBundlesData(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
unloadNamespace
@PUT @Path("/{property}/{cluster}/{namespace}/unload") public void unloadNamespace(@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)
-
unloadNamespaceBundle
@PUT @Path("/{property}/{cluster}/{namespace}/{bundle}/unload") public void unloadNamespaceBundle(@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("bundle") java.lang.String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
splitNamespaceBundle
@PUT @Path("/{property}/{cluster}/{namespace}/{bundle}/split") public void splitNamespaceBundle(@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("bundle") java.lang.String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("unload") @DefaultValue("false") boolean unload)
-
setPublishRate
@POST @Path("/{property}/{cluster}/{namespace}/publishRate") public void setPublishRate(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.PublishRate publishRate)
-
getPublishRate
@GET @Path("/{property}/{cluster}/{namespace}/publishRate") public org.apache.pulsar.common.policies.data.PublishRate getPublishRate(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setDispatchRate
@POST @Path("/{property}/{cluster}/{namespace}/dispatchRate") public void setDispatchRate(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
-
getDispatchRate
@GET @Path("/{property}/{cluster}/{namespace}/dispatchRate") public org.apache.pulsar.common.policies.data.DispatchRate getDispatchRate(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setSubscriptionDispatchRate
@POST @Path("/{property}/{cluster}/{namespace}/subscriptionDispatchRate") public void setSubscriptionDispatchRate(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
-
getSubscriptionDispatchRate
@GET @Path("/{property}/{cluster}/{namespace}/subscriptionDispatchRate") public org.apache.pulsar.common.policies.data.DispatchRate getSubscriptionDispatchRate(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
deleteSubscriptionDispatchRate
@DELETE @Path("/{property}/{cluster}/{namespace}/subscriptionDispatchRate") public void deleteSubscriptionDispatchRate(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setReplicatorDispatchRate
@POST @Path("/{tenant}/{cluster}/{namespace}/replicatorDispatchRate") public void setReplicatorDispatchRate(@PathParam("tenant") java.lang.String tenant, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
-
getReplicatorDispatchRate
@GET @Path("/{tenant}/{cluster}/{namespace}/replicatorDispatchRate") public org.apache.pulsar.common.policies.data.DispatchRate getReplicatorDispatchRate(@PathParam("tenant") java.lang.String tenant, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
getBacklogQuotaMap
@GET @Path("/{property}/{cluster}/{namespace}/backlogQuotaMap") public java.util.Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,org.apache.pulsar.common.policies.data.BacklogQuota> getBacklogQuotaMap(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setBacklogQuota
@POST @Path("/{property}/{cluster}/{namespace}/backlogQuota") public void setBacklogQuota(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @QueryParam("backlogQuotaType") org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota)
-
removeBacklogQuota
@DELETE @Path("/{property}/{cluster}/{namespace}/backlogQuota") public void removeBacklogQuota(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @QueryParam("backlogQuotaType") org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType)
-
getRetention
@GET @Path("/{property}/{cluster}/{namespace}/retention") public org.apache.pulsar.common.policies.data.RetentionPolicies getRetention(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setRetention
@POST @Path("/{property}/{cluster}/{namespace}/retention") public void setRetention(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.RetentionPolicies retention)
-
setPersistence
@POST @Path("/{property}/{cluster}/{namespace}/persistence") public void setPersistence(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.PersistencePolicies persistence)
-
setBookieAffinityGroup
@POST @Path("/{property}/{cluster}/{namespace}/persistence/bookieAffinity") public void setBookieAffinityGroup(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup)
-
getBookieAffinityGroup
@GET @Path("/{property}/{cluster}/{namespace}/persistence/bookieAffinity") public org.apache.pulsar.common.policies.data.BookieAffinityGroupData getBookieAffinityGroup(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
deleteBookieAffinityGroup
@DELETE @Path("/{property}/{cluster}/{namespace}/persistence/bookieAffinity") public void deleteBookieAffinityGroup(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
getPersistence
@GET @Path("/{property}/{cluster}/{namespace}/persistence") public org.apache.pulsar.common.policies.data.PersistencePolicies getPersistence(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
clearNamespaceBacklog
@POST @Path("/{property}/{cluster}/{namespace}/clearBacklog") public void clearNamespaceBacklog(@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("authoritative") @DefaultValue("false") boolean authoritative)
-
clearNamespaceBundleBacklog
@POST @Path("/{property}/{cluster}/{namespace}/{bundle}/clearBacklog") public void clearNamespaceBundleBacklog(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("bundle") java.lang.String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
clearNamespaceBacklogForSubscription
@POST @Path("/{property}/{cluster}/{namespace}/clearBacklog/{subscription}") public void clearNamespaceBacklogForSubscription(@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("subscription") java.lang.String subscription, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
clearNamespaceBundleBacklogForSubscription
@POST @Path("/{property}/{cluster}/{namespace}/{bundle}/clearBacklog/{subscription}") public void clearNamespaceBundleBacklogForSubscription(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("subscription") java.lang.String subscription, @PathParam("bundle") java.lang.String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
unsubscribeNamespace
@POST @Path("/{property}/{cluster}/{namespace}/unsubscribe/{subscription}") public void unsubscribeNamespace(@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("subscription") java.lang.String subscription, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
unsubscribeNamespaceBundle
@POST @Path("/{property}/{cluster}/{namespace}/{bundle}/unsubscribe/{subscription}") public void unsubscribeNamespaceBundle(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, @PathParam("subscription") java.lang.String subscription, @PathParam("bundle") java.lang.String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative)
-
setSubscriptionAuthMode
@POST @Path("/{property}/{cluster}/{namespace}/subscriptionAuthMode") public void setSubscriptionAuthMode(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode)
-
getSubscriptionAuthMode
@GET @Path("/{property}/{cluster}/{namespace}/subscriptionAuthMode") public org.apache.pulsar.common.policies.data.SubscriptionAuthMode getSubscriptionAuthMode(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
modifyEncryptionRequired
@POST @Path("/{property}/{cluster}/{namespace}/encryptionRequired") public void modifyEncryptionRequired(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, boolean encryptionRequired)
-
getEncryptionRequired
@GET @Path("/{property}/{cluster}/{namespace}/encryptionRequired") public java.lang.Boolean getEncryptionRequired(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
getMaxProducersPerTopic
@GET @Path("/{property}/{cluster}/{namespace}/maxProducersPerTopic") public int getMaxProducersPerTopic(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setMaxProducersPerTopic
@POST @Path("/{property}/{cluster}/{namespace}/maxProducersPerTopic") public void setMaxProducersPerTopic(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, int maxProducersPerTopic)
-
getMaxConsumersPerTopic
@GET @Path("/{property}/{cluster}/{namespace}/maxConsumersPerTopic") public java.lang.Integer getMaxConsumersPerTopic(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setMaxConsumersPerTopic
@POST @Path("/{property}/{cluster}/{namespace}/maxConsumersPerTopic") public void setMaxConsumersPerTopic(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, int maxConsumersPerTopic)
-
getMaxConsumersPerSubscription
@GET @Path("/{property}/{cluster}/{namespace}/maxConsumersPerSubscription") public java.lang.Integer getMaxConsumersPerSubscription(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setMaxConsumersPerSubscription
@POST @Path("/{property}/{cluster}/{namespace}/maxConsumersPerSubscription") public void setMaxConsumersPerSubscription(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, int maxConsumersPerSubscription)
-
removeMaxConsumersPerSubscription
@DELETE @Path("/{property}/{cluster}/{namespace}/maxConsumersPerSubscription") public void removeMaxConsumersPerSubscription(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
getCompactionThreshold
@GET @Path("/{property}/{cluster}/{namespace}/compactionThreshold") public java.lang.Long getCompactionThreshold(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setCompactionThreshold
@PUT @Path("/{property}/{cluster}/{namespace}/compactionThreshold") public void setCompactionThreshold(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, long newThreshold)
-
getOffloadThreshold
@GET @Path("/{property}/{cluster}/{namespace}/offloadThreshold") public long getOffloadThreshold(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setOffloadThreshold
@PUT @Path("/{property}/{cluster}/{namespace}/offloadThreshold") public void setOffloadThreshold(@PathParam("property") java.lang.String property, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, long newThreshold)
-
getSchemaAutoUpdateCompatibilityStrategy
@GET @Path("/{tenant}/{cluster}/{namespace}/schemaAutoUpdateCompatibilityStrategy") public org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy getSchemaAutoUpdateCompatibilityStrategy(@PathParam("tenant") java.lang.String tenant, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace)
-
setSchemaAutoUpdateCompatibilityStrategy
@PUT @Path("/{tenant}/{cluster}/{namespace}/schemaAutoUpdateCompatibilityStrategy") public void setSchemaAutoUpdateCompatibilityStrategy(@PathParam("tenant") java.lang.String tenant, @PathParam("cluster") java.lang.String cluster, @PathParam("namespace") java.lang.String namespace, org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy)
-
-