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, 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 property, String cluster, String namespace, boolean authoritative) voidclearNamespaceBacklogForSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, String subscription, boolean authoritative) voidclearNamespaceBundleBacklog(String property, String cluster, String namespace, String bundleRange, boolean authoritative) voidclearNamespaceBundleBacklogForSubscription(String property, String cluster, String namespace, String subscription, String bundleRange, boolean authoritative) voidcreateNamespace(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.BundlesData initialBundles) voiddeleteBookieAffinityGroup(String property, String cluster, String namespace) voiddeleteNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, boolean force, boolean authoritative) voiddeleteNamespaceBundle(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace, String bundleRange, boolean force, boolean authoritative) voiddeleteSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) getAntiAffinityNamespaces(String cluster, String antiAffinityGroup, String property) voidgetAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetBacklogQuotaMap(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) org.apache.pulsar.common.policies.data.BookieAffinityGroupDatagetBookieAffinityGroup(String property, String cluster, String namespace) voidgetBundlesData(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetCompactionThreshold(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) getEncryptionRequired(String property, String cluster, String namespace) voidgetMaxConsumersPerSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetMaxConsumersPerTopic(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetMaxProducersPerTopic(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) getNamespaceAntiAffinityGroup(String property, String cluster, String namespace) voidgetNamespaceMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetNamespaceReplicationClusters(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) getNamespacesForCluster(String tenant, String cluster) voidgetOffloadThreshold(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetPermissionOnSubscription(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace) voidgetPermissions(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace) voidgetPersistence(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetPolicies(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace) voidgetPublishRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetReplicatorDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String tenant, String cluster, String namespace) voidgetRetention(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategygetSchemaAutoUpdateCompatibilityStrategy(String tenant, String cluster, String namespace) voidgetSubscriptionAuthMode(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetSubscriptionExpirationTime(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidgetTenantNamespaces(javax.ws.rs.container.AsyncResponse response, String property) voidgetTopicHashPositions(String property, String cluster, String namespace, String bundle, List<String> topics, javax.ws.rs.container.AsyncResponse asyncResponse) voidgetTopics(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace, org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode mode, boolean includeSystemTopic) voidgrantPermissionOnNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, String role, Set<org.apache.pulsar.common.policies.data.AuthAction> actions) voidgrantPermissionOnSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, String subscription, Set<String> roles) voidmodifyDeduplication(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, boolean enableDeduplication) voidmodifyEncryptionRequired(String property, String cluster, String namespace, boolean encryptionRequired) voidremoveAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidremoveAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidremoveBacklogQuota(String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType) voidremoveMaxConsumersPerSubscription(String property, String cluster, String namespace) voidremoveNamespaceAntiAffinityGroup(String property, String cluster, String namespace) voidremoveNamespaceMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidremoveSubscriptionExpirationTime(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidrevokePermissionOnSubscription(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, String subscription, String role) voidrevokePermissionsOnNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, String role) voidsetAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride) voidsetAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride) voidsetBacklogQuota(String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType, org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota) voidsetBookieAffinityGroup(String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup) voidsetCompactionThreshold(String property, String cluster, String namespace, long newThreshold) voidsetDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) voidsetMaxConsumersPerSubscription(String property, String cluster, String namespace, int maxConsumersPerSubscription) voidsetMaxConsumersPerTopic(String property, String cluster, String namespace, int maxConsumersPerTopic) voidsetMaxProducersPerTopic(String property, String cluster, String namespace, int maxProducersPerTopic) voidsetNamespaceAntiAffinityGroup(String property, String cluster, String namespace, String antiAffinityGroup) voidsetNamespaceMessageTTL(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, int messageTTL) voidsetNamespaceReplicationClusters(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, List<String> clusterIds) voidsetOffloadThreshold(String property, String cluster, String namespace, long newThreshold) voidsetPersistence(String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.PersistencePolicies persistence) voidsetPublishRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.PublishRate publishRate) voidsetReplicatorDispatchRate(String tenant, String cluster, String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) voidsetRetention(String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.RetentionPolicies retention) voidsetSchemaAutoUpdateCompatibilityStrategy(String tenant, String cluster, String namespace, org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy) voidsetSubscriptionAuthMode(String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode) voidsetSubscriptionDispatchRate(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) voidsetSubscriptionExpirationTime(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, int expirationTime) voidsplitNamespaceBundle(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, String bundleRange, boolean authoritative, boolean unload, List<Long> splitBoundaries) voidunloadNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace) voidunloadNamespaceBundle(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, String bundleRange, boolean authoritative) voidunsubscribeNamespace(javax.ws.rs.container.AsyncResponse asyncResponse, String property, String cluster, String namespace, String subscription, boolean authoritative) voidunsubscribeNamespaceBundle(String property, String cluster, 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("/{property}") public void getTenantNamespaces(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("property") String property) -
getNamespacesForCluster
-
getTopics
@GET @Path("/{property}/{cluster}/{namespace}/destinations") public void getTopics(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @QueryParam("mode") @DefaultValue("PERSISTENT") org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode mode, @QueryParam("includeSystemTopic") boolean includeSystemTopic) -
getPolicies
-
createNamespace
@PUT @Path("/{property}/{cluster}/{namespace}") public void createNamespace(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") 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") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @QueryParam("force") @DefaultValue("false") boolean force, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
deleteNamespaceBundle
@DELETE @Path("/{property}/{cluster}/{namespace}/{bundle}") public void deleteNamespaceBundle(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("property") String property, @PathParam("cluster") String cluster, @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("/{property}/{cluster}/{namespace}/permissions/{role}") public void grantPermissionOnNamespace(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("role") String role, Set<org.apache.pulsar.common.policies.data.AuthAction> actions) -
grantPermissionOnSubscription
@POST @Path("/{property}/{cluster}/{namespace}/permissions/subscription/{subscription}") public void grantPermissionOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, Set<String> roles) -
revokePermissionsOnNamespace
@DELETE @Path("/{property}/{cluster}/{namespace}/permissions/{role}") public void revokePermissionsOnNamespace(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("role") String role) -
revokePermissionOnSubscription
@DELETE @Path("/{property}/{cluster}/{namespace}/permissions/{subscription}/{role}") public void revokePermissionOnSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @PathParam("role") String role) -
getNamespaceReplicationClusters
-
setNamespaceReplicationClusters
@POST @Path("/{property}/{cluster}/{namespace}/replication") public void setNamespaceReplicationClusters(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, List<String> clusterIds) -
getNamespaceMessageTTL
-
setNamespaceMessageTTL
-
removeNamespaceMessageTTL
-
getSubscriptionExpirationTime
-
setSubscriptionExpirationTime
@POST @Path("/{property}/{cluster}/{namespace}/subscriptionExpirationTime") public void setSubscriptionExpirationTime(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, int expirationTime) -
removeSubscriptionExpirationTime
@DELETE @Path("/{property}/{cluster}/{namespace}/subscriptionExpirationTime") public void removeSubscriptionExpirationTime(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace) -
setNamespaceAntiAffinityGroup
-
getNamespaceAntiAffinityGroup
-
getAntiAffinityNamespaces
-
removeNamespaceAntiAffinityGroup
-
modifyDeduplication
@POST @Path("/{property}/{cluster}/{namespace}/deduplication") public void modifyDeduplication(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, boolean enableDeduplication) -
getAutoTopicCreation
-
setAutoTopicCreation
@POST @Path("/{property}/{cluster}/{namespace}/autoTopicCreation") public void setAutoTopicCreation(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride) -
removeAutoTopicCreation
-
setAutoSubscriptionCreation
@POST @Path("/{property}/{cluster}/{namespace}/autoSubscriptionCreation") public void setAutoSubscriptionCreation(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride) -
getAutoSubscriptionCreation
-
removeAutoSubscriptionCreation
@DELETE @Path("/{property}/{cluster}/{namespace}/autoSubscriptionCreation") public void removeAutoSubscriptionCreation(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace) -
getBundlesData
-
unloadNamespace
-
unloadNamespaceBundle
@PUT @Path("/{property}/{cluster}/{namespace}/{bundle}/unload") public void unloadNamespaceBundle(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("bundle") 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") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @QueryParam("unload") @DefaultValue("false") boolean unload, @QueryParam("splitBoundaries") @DefaultValue("") List<Long> splitBoundaries) -
getTopicHashPositions
@GET @Path("/{property}/{cluster}/{namespace}/{bundle}/topicHashPositions") public void getTopicHashPositions(@PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("bundle") String bundle, @QueryParam("topics") List<String> topics, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse) -
setPublishRate
@POST @Path("/{property}/{cluster}/{namespace}/publishRate") public void setPublishRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.PublishRate publishRate) -
getPublishRate
-
setDispatchRate
@POST @Path("/{property}/{cluster}/{namespace}/dispatchRate") public void setDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) -
getDispatchRate
-
setSubscriptionDispatchRate
@POST @Path("/{property}/{cluster}/{namespace}/subscriptionDispatchRate") public void setSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate) -
getSubscriptionDispatchRate
-
deleteSubscriptionDispatchRate
@DELETE @Path("/{property}/{cluster}/{namespace}/subscriptionDispatchRate") public void deleteSubscriptionDispatchRate(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace) -
setReplicatorDispatchRate
-
getReplicatorDispatchRate
-
getBacklogQuotaMap
-
setBacklogQuota
@POST @Path("/{property}/{cluster}/{namespace}/backlogQuota") public void setBacklogQuota(@PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") 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") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @QueryParam("backlogQuotaType") org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType) -
getRetention
-
setRetention
-
setPersistence
-
setBookieAffinityGroup
@POST @Path("/{property}/{cluster}/{namespace}/persistence/bookieAffinity") public void setBookieAffinityGroup(@PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup) -
getBookieAffinityGroup
-
deleteBookieAffinityGroup
-
getPersistence
-
clearNamespaceBacklog
@POST @Path("/{property}/{cluster}/{namespace}/clearBacklog") public void clearNamespaceBacklog(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
clearNamespaceBundleBacklog
@POST @Path("/{property}/{cluster}/{namespace}/{bundle}/clearBacklog") public void clearNamespaceBundleBacklog(@PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("bundle") 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") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
clearNamespaceBundleBacklogForSubscription
@POST @Path("/{property}/{cluster}/{namespace}/{bundle}/clearBacklog/{subscription}") public void clearNamespaceBundleBacklogForSubscription(@PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @PathParam("bundle") 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") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
unsubscribeNamespaceBundle
@POST @Path("/{property}/{cluster}/{namespace}/{bundle}/unsubscribe/{subscription}") public void unsubscribeNamespaceBundle(@PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("subscription") String subscription, @PathParam("bundle") String bundleRange, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) -
setSubscriptionAuthMode
@POST @Path("/{property}/{cluster}/{namespace}/subscriptionAuthMode") public void setSubscriptionAuthMode(@PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode) -
getSubscriptionAuthMode
-
modifyEncryptionRequired
-
getEncryptionRequired
-
getMaxProducersPerTopic
-
setMaxProducersPerTopic
-
getMaxConsumersPerTopic
-
setMaxConsumersPerTopic
-
getMaxConsumersPerSubscription
@GET @Path("/{property}/{cluster}/{namespace}/maxConsumersPerSubscription") public void getMaxConsumersPerSubscription(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace) -
setMaxConsumersPerSubscription
-
removeMaxConsumersPerSubscription
-
getCompactionThreshold
-
setCompactionThreshold
-
getOffloadThreshold
-
setOffloadThreshold
-
getSchemaAutoUpdateCompatibilityStrategy
@GET @Path("/{tenant}/{cluster}/{namespace}/schemaAutoUpdateCompatibilityStrategy") public org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy getSchemaAutoUpdateCompatibilityStrategy(@PathParam("tenant") String tenant, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace) -
setSchemaAutoUpdateCompatibilityStrategy
@PUT @Path("/{tenant}/{cluster}/{namespace}/schemaAutoUpdateCompatibilityStrategy") public void setSchemaAutoUpdateCompatibilityStrategy(@PathParam("tenant") String tenant, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy)
-