@Path(value="/namespaces") @Produces(value="application/json") @Consumes(value="application/json") public class Namespaces extends NamespacesBase
namespaceName, PARTITIONED_TOPIC_PATH_ZNODE, topicNamehttpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
Namespaces() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearNamespaceBacklog(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace,
boolean authoritative) |
void |
clearNamespaceBacklogForSubscription(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace,
String subscription,
boolean authoritative) |
void |
clearNamespaceBundleBacklog(String property,
String cluster,
String namespace,
String bundleRange,
boolean authoritative) |
void |
clearNamespaceBundleBacklogForSubscription(String property,
String cluster,
String namespace,
String subscription,
String bundleRange,
boolean authoritative) |
void |
createNamespace(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.BundlesData initialBundles) |
void |
deleteBookieAffinityGroup(String property,
String cluster,
String namespace) |
void |
deleteNamespace(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace,
boolean force,
boolean authoritative) |
void |
deleteNamespaceBundle(String property,
String cluster,
String namespace,
String bundleRange,
boolean force,
boolean authoritative) |
List<String> |
getAntiAffinityNamespaces(String cluster,
String antiAffinityGroup,
String property) |
Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,org.apache.pulsar.common.policies.data.BacklogQuota> |
getBacklogQuotaMap(String property,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.BookieAffinityGroupData |
getBookieAffinityGroup(String property,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.BundlesData |
getBundlesData(String property,
String cluster,
String namespace) |
long |
getCompactionThreshold(String property,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.DispatchRate |
getDispatchRate(String property,
String cluster,
String namespace) |
int |
getMaxConsumersPerSubscription(String property,
String cluster,
String namespace) |
int |
getMaxConsumersPerTopic(String property,
String cluster,
String namespace) |
int |
getMaxProducersPerTopic(String property,
String cluster,
String namespace) |
String |
getNamespaceAntiAffinityGroup(String property,
String cluster,
String namespace) |
int |
getNamespaceMessageTTL(String property,
String cluster,
String namespace) |
Set<String> |
getNamespaceReplicationClusters(String property,
String cluster,
String namespace) |
List<String> |
getNamespacesForCluster(String property,
String cluster) |
long |
getOffloadThreshold(String property,
String cluster,
String namespace) |
Map<String,Set<org.apache.pulsar.common.policies.data.AuthAction>> |
getPermissions(String property,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.PersistencePolicies |
getPersistence(String property,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.Policies |
getPolicies(String property,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.PublishRate |
getPublishRate(String property,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.DispatchRate |
getReplicatorDispatchRate(String tenant,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.RetentionPolicies |
getRetention(String property,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy |
getSchemaAutoUpdateCompatibilityStrategy(String tenant,
String cluster,
String namespace) |
org.apache.pulsar.common.policies.data.DispatchRate |
getSubscriptionDispatchRate(String property,
String cluster,
String namespace) |
int |
getSubscriptionExpirationTime(String property,
String cluster,
String namespace) |
List<String> |
getTenantNamespaces(String property) |
void |
getTopics(String property,
String cluster,
String namespace,
org.apache.pulsar.common.api.proto.PulsarApi.CommandGetTopicsOfNamespace.Mode mode,
javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
grantPermissionOnNamespace(String property,
String cluster,
String namespace,
String role,
Set<org.apache.pulsar.common.policies.data.AuthAction> actions) |
void |
grantPermissionOnSubscription(String property,
String cluster,
String namespace,
String subscription,
Set<String> roles) |
void |
modifyDeduplication(String property,
String cluster,
String namespace,
boolean enableDeduplication) |
void |
modifyEncryptionRequired(String property,
String cluster,
String namespace,
boolean encryptionRequired) |
void |
removeAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace) |
void |
removeAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace) |
void |
removeBacklogQuota(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType) |
void |
removeNamespaceAntiAffinityGroup(String property,
String cluster,
String namespace) |
void |
revokePermissionOnSubscription(String property,
String cluster,
String namespace,
String subscription,
String role) |
void |
revokePermissionsOnNamespace(String property,
String cluster,
String namespace,
String role) |
void |
setAutoSubscriptionCreation(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride) |
void |
setAutoTopicCreation(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride) |
void |
setBacklogQuota(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType,
org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota) |
void |
setBookieAffinityGroup(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup) |
void |
setCompactionThreshold(String property,
String cluster,
String namespace,
long newThreshold) |
void |
setDispatchRate(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate) |
void |
setMaxConsumersPerSubscription(String property,
String cluster,
String namespace,
int maxConsumersPerSubscription) |
void |
setMaxConsumersPerTopic(String property,
String cluster,
String namespace,
int maxConsumersPerTopic) |
void |
setMaxProducersPerTopic(String property,
String cluster,
String namespace,
int maxProducersPerTopic) |
void |
setNamespaceAntiAffinityGroup(String property,
String cluster,
String namespace,
String antiAffinityGroup) |
void |
setNamespaceMessageTTL(String property,
String cluster,
String namespace,
int messageTTL) |
void |
setNamespaceReplicationClusters(String property,
String cluster,
String namespace,
List<String> clusterIds) |
void |
setOffloadThreshold(String property,
String cluster,
String namespace,
long newThreshold) |
void |
setPersistence(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.PersistencePolicies persistence) |
void |
setPublishRate(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.PublishRate publishRate) |
void |
setReplicatorDispatchRate(String tenant,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate) |
void |
setRetention(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.RetentionPolicies retention) |
void |
setSchemaAutoUpdateCompatibilityStrategy(String tenant,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy) |
void |
setSubscriptionAuthMode(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode) |
void |
setSubscriptionDispatchRate(String property,
String cluster,
String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate) |
void |
setSubscriptionExpirationTime(String property,
String cluster,
String namespace,
int expirationTime) |
void |
splitNamespaceBundle(String property,
String cluster,
String namespace,
String bundleRange,
boolean authoritative,
boolean unload) |
void |
unloadNamespace(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace) |
void |
unloadNamespaceBundle(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace,
String bundleRange,
boolean authoritative) |
void |
unsubscribeNamespace(javax.ws.rs.container.AsyncResponse asyncResponse,
String property,
String cluster,
String namespace,
String subscription,
boolean authoritative) |
void |
unsubscribeNamespaceBundle(String property,
String cluster,
String namespace,
String subscription,
String bundleRange,
boolean authoritative) |
getBundles, internalClearNamespaceBacklog, internalClearNamespaceBacklogForSubscription, internalClearNamespaceBundleBacklog, internalClearNamespaceBundleBacklogForSubscription, internalCreateNamespace, internalDeleteBookieAffinityGroup, internalDeleteNamespace, internalDeleteNamespace, internalDeleteNamespaceBundle, internalDeleteNamespaceBundle, internalDeleteNamespaceBundleForcefully, internalDeleteNamespaceForcefully, internalGetAntiAffinityNamespaces, internalGetBookieAffinityGroup, internalGetCompactionThreshold, internalGetDeduplicationSnapshotInterval, internalGetDelayedDelivery, internalGetInactiveTopic, internalGetIsAllowAutoUpdateSchema, internalGetMaxConsumersPerSubscription, internalGetMaxConsumersPerTopic, internalGetMaxProducersPerTopic, internalGetMaxSubscriptionsPerTopic, internalGetMaxUnackedMessagesPerConsumer, internalGetMaxUnackedMessagesPerSubscription, internalGetNamespaceAntiAffinityGroup, internalGetNamespaceReplicationClusters, internalGetOffloadDeletionLag, internalGetOffloadPolicies, internalGetOffloadThreshold, internalGetPersistence, internalGetPublishRate, internalGetReplicatorDispatchRate, internalGetRetention, internalGetSchemaAutoUpdateCompatibilityStrategy, internalGetSchemaCompatibilityStrategy, internalGetSchemaValidationEnforced, internalGetSubscribeRate, internalGetSubscriptionDispatchRate, internalGetTenantNamespaces, internalGetTopicDispatchRate, internalGrantPermissionOnNamespace, internalGrantPermissionOnSubscription, internalModifyDeduplication, internalModifyEncryptionRequired, internalRemoveAutoSubscriptionCreation, internalRemoveAutoTopicCreation, internalRemoveBacklogQuota, internalRemoveNamespaceAntiAffinityGroup, internalRemoveOffloadPolicies, internalRemovePublishRate, internalRevokePermissionsOnNamespace, internalRevokePermissionsOnSubscription, internalSetAutoSubscriptionCreation, internalSetAutoTopicCreation, internalSetBacklogQuota, internalSetBookieAffinityGroup, internalSetCompactionThreshold, internalSetDeduplicationSnapshotInterval, internalSetDelayedDelivery, internalSetInactiveTopic, internalSetIsAllowAutoUpdateSchema, internalSetMaxConsumersPerSubscription, internalSetMaxConsumersPerTopic, internalSetMaxProducersPerTopic, internalSetMaxSubscriptionsPerTopic, internalSetMaxUnackedMessagesPerConsumer, internalSetMaxUnackedMessagesPerSubscription, internalSetNamespaceAntiAffinityGroup, internalSetNamespaceMessageTTL, internalSetNamespaceReplicationClusters, internalSetOffloadDeletionLag, internalSetOffloadPolicies, internalSetOffloadThreshold, internalSetPersistence, internalSetPolicies, internalSetPublishRate, internalSetReplicatorDispatchRate, internalSetRetention, internalSetSchemaAutoUpdateCompatibilityStrategy, internalSetSchemaCompatibilityStrategy, internalSetSchemaValidationEnforced, internalSetSubscribeRate, internalSetSubscriptionAuthMode, internalSetSubscriptionDispatchRate, internalSetSubscriptionExpirationTime, internalSetTopicDispatchRate, internalSplitNamespaceBundle, internalUnloadNamespace, internalUnloadNamespaceBundle, internalUnsubscribeNamespace, internalUnsubscribeNamespaceBundle, validateBundlesData, validateRetentionPoliciescheckArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, clustersCache, clustersListCache, dispatchRate, domain, failureDomainCache, failureDomainListCache, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getListOfNamespaces, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getTopicPolicies, globalZk, globalZkCache, internalCreatePartitionedTopic, isLeaderBroker, isNamespaceReplicated, jsonMapper, localCacheService, localPoliciesCache, localZk, localZkCache, managedLedgerListCache, mergeNamespaceWithDefaults, namespaceBacklogQuota, namespaceIsolationPoliciesCache, policiesCache, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tenantsCache, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateBrokerName, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validateNamespaceOwnershipWithBundles, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTopicExistedAndCheckAllowAutoCreation, validateTopicName, validateTopicName, zkCreate, zkCreateOptimistic, zkCreateOptimisticAsync, zkPathExists, zkSynccheckAuthorization, checkConnect, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, config, getClusterDataIfDifferentCluster, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, joinPath, originalPrincipal, path, pulsar, setPulsar, splitPath, validateAdminAccessForTenant, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespacePolicyOperation, validateTenantOperation, validateTopicOwnership@GET
@Path(value="/{property}")
public List<String> getTenantNamespaces(@PathParam(value="property")
String property)
@GET
@Path(value="/{property}/{cluster}")
public List<String> getNamespacesForCluster(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster)
@GET
@Path(value="/{property}/{cluster}/{namespace}/destinations")
public void getTopics(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@QueryParam(value="mode") @DefaultValue(value="PERSISTENT")
org.apache.pulsar.common.api.proto.PulsarApi.CommandGetTopicsOfNamespace.Mode mode,
@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
@GET
@Path(value="/{property}/{cluster}/{namespace}")
public org.apache.pulsar.common.policies.data.Policies getPolicies(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@PUT
@Path(value="/{property}/{cluster}/{namespace}")
public void createNamespace(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.BundlesData initialBundles)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}")
public void deleteNamespace(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@QueryParam(value="force") @DefaultValue(value="false")
boolean force,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}/{bundle}")
public void deleteNamespaceBundle(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="bundle")
String bundleRange,
@QueryParam(value="force") @DefaultValue(value="false")
boolean force,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@GET
@Path(value="/{property}/{cluster}/{namespace}/permissions")
public Map<String,Set<org.apache.pulsar.common.policies.data.AuthAction>> getPermissions(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/permissions/{role}")
public void grantPermissionOnNamespace(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="role")
String role,
Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
@POST
@Path(value="/{property}/{cluster}/{namespace}/permissions/subscription/{subscription}")
public void grantPermissionOnSubscription(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="subscription")
String subscription,
Set<String> roles)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}/permissions/{role}")
public void revokePermissionsOnNamespace(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="role")
String role)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}/permissions/{subscription}/{role}")
public void revokePermissionOnSubscription(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="subscription")
String subscription,
@PathParam(value="role")
String role)
@GET
@Path(value="/{property}/{cluster}/{namespace}/replication")
public Set<String> getNamespaceReplicationClusters(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/replication")
public void setNamespaceReplicationClusters(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
List<String> clusterIds)
@GET
@Path(value="/{property}/{cluster}/{namespace}/messageTTL")
public int getNamespaceMessageTTL(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/messageTTL")
public void setNamespaceMessageTTL(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
int messageTTL)
@GET
@Path(value="/{property}/{cluster}/{namespace}/subscriptionExpirationTime")
public int getSubscriptionExpirationTime(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/subscriptionExpirationTime")
public void setSubscriptionExpirationTime(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
int expirationTime)
@POST
@Path(value="/{property}/{cluster}/{namespace}/antiAffinity")
public void setNamespaceAntiAffinityGroup(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
String antiAffinityGroup)
@GET
@Path(value="/{property}/{cluster}/{namespace}/antiAffinity")
public String getNamespaceAntiAffinityGroup(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@GET
@Path(value="{cluster}/antiAffinity/{group}")
public List<String> getAntiAffinityNamespaces(@PathParam(value="cluster")
String cluster,
@PathParam(value="group")
String antiAffinityGroup,
@QueryParam(value="property")
String property)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}/antiAffinity")
public void removeNamespaceAntiAffinityGroup(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/deduplication")
public void modifyDeduplication(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
boolean enableDeduplication)
@POST
@Path(value="/{property}/{cluster}/{namespace}/autoTopicCreation")
public void setAutoTopicCreation(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}/autoTopicCreation")
public void removeAutoTopicCreation(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/autoSubscriptionCreation")
public void setAutoSubscriptionCreation(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}/autoSubscriptionCreation")
public void removeAutoSubscriptionCreation(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@GET
@Path(value="/{property}/{cluster}/{namespace}/bundles")
public org.apache.pulsar.common.policies.data.BundlesData getBundlesData(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@PUT
@Path(value="/{property}/{cluster}/{namespace}/unload")
public void unloadNamespace(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@PUT
@Path(value="/{property}/{cluster}/{namespace}/{bundle}/unload")
public void unloadNamespaceBundle(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="bundle")
String bundleRange,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@PUT
@Path(value="/{property}/{cluster}/{namespace}/{bundle}/split")
public void splitNamespaceBundle(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="bundle")
String bundleRange,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@QueryParam(value="unload") @DefaultValue(value="false")
boolean unload)
@POST
@Path(value="/{property}/{cluster}/{namespace}/publishRate")
public void setPublishRate(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.PublishRate publishRate)
@GET
@Path(value="/{property}/{cluster}/{namespace}/publishRate")
public org.apache.pulsar.common.policies.data.PublishRate getPublishRate(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/dispatchRate")
public void setDispatchRate(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate)
@GET
@Path(value="/{property}/{cluster}/{namespace}/dispatchRate")
public org.apache.pulsar.common.policies.data.DispatchRate getDispatchRate(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/subscriptionDispatchRate")
public void setSubscriptionDispatchRate(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate)
@GET
@Path(value="/{property}/{cluster}/{namespace}/subscriptionDispatchRate")
public org.apache.pulsar.common.policies.data.DispatchRate getSubscriptionDispatchRate(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{tenant}/{cluster}/{namespace}/replicatorDispatchRate")
public void setReplicatorDispatchRate(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.DispatchRate dispatchRate)
@GET
@Path(value="/{tenant}/{cluster}/{namespace}/replicatorDispatchRate")
public org.apache.pulsar.common.policies.data.DispatchRate getReplicatorDispatchRate(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@GET
@Path(value="/{property}/{cluster}/{namespace}/backlogQuotaMap")
public Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,org.apache.pulsar.common.policies.data.BacklogQuota> getBacklogQuotaMap(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/backlogQuota")
public void setBacklogQuota(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@QueryParam(value="backlogQuotaType")
org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType,
org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}/backlogQuota")
public void removeBacklogQuota(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@QueryParam(value="backlogQuotaType")
org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType)
@GET
@Path(value="/{property}/{cluster}/{namespace}/retention")
public org.apache.pulsar.common.policies.data.RetentionPolicies getRetention(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/retention")
public void setRetention(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.RetentionPolicies retention)
@POST
@Path(value="/{property}/{cluster}/{namespace}/persistence")
public void setPersistence(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.PersistencePolicies persistence)
@POST
@Path(value="/{property}/{cluster}/{namespace}/persistence/bookieAffinity")
public void setBookieAffinityGroup(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup)
@GET
@Path(value="/{property}/{cluster}/{namespace}/persistence/bookieAffinity")
public org.apache.pulsar.common.policies.data.BookieAffinityGroupData getBookieAffinityGroup(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@DELETE
@Path(value="/{property}/{cluster}/{namespace}/persistence/bookieAffinity")
public void deleteBookieAffinityGroup(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@GET
@Path(value="/{property}/{cluster}/{namespace}/persistence")
public org.apache.pulsar.common.policies.data.PersistencePolicies getPersistence(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/clearBacklog")
public void clearNamespaceBacklog(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@POST
@Path(value="/{property}/{cluster}/{namespace}/{bundle}/clearBacklog")
public void clearNamespaceBundleBacklog(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="bundle")
String bundleRange,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@POST
@Path(value="/{property}/{cluster}/{namespace}/clearBacklog/{subscription}")
public void clearNamespaceBacklogForSubscription(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="subscription")
String subscription,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@POST
@Path(value="/{property}/{cluster}/{namespace}/{bundle}/clearBacklog/{subscription}")
public void clearNamespaceBundleBacklogForSubscription(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="subscription")
String subscription,
@PathParam(value="bundle")
String bundleRange,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@POST
@Path(value="/{property}/{cluster}/{namespace}/unsubscribe/{subscription}")
public void unsubscribeNamespace(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="subscription")
String subscription,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@POST
@Path(value="/{property}/{cluster}/{namespace}/{bundle}/unsubscribe/{subscription}")
public void unsubscribeNamespaceBundle(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="subscription")
String subscription,
@PathParam(value="bundle")
String bundleRange,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative)
@POST
@Path(value="/{property}/{cluster}/{namespace}/subscriptionAuthMode")
public void setSubscriptionAuthMode(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode)
@POST
@Path(value="/{property}/{cluster}/{namespace}/encryptionRequired")
public void modifyEncryptionRequired(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
boolean encryptionRequired)
@GET
@Path(value="/{property}/{cluster}/{namespace}/maxProducersPerTopic")
public int getMaxProducersPerTopic(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/maxProducersPerTopic")
public void setMaxProducersPerTopic(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
int maxProducersPerTopic)
@GET
@Path(value="/{property}/{cluster}/{namespace}/maxConsumersPerTopic")
public int getMaxConsumersPerTopic(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/maxConsumersPerTopic")
public void setMaxConsumersPerTopic(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
int maxConsumersPerTopic)
@GET
@Path(value="/{property}/{cluster}/{namespace}/maxConsumersPerSubscription")
public int getMaxConsumersPerSubscription(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@POST
@Path(value="/{property}/{cluster}/{namespace}/maxConsumersPerSubscription")
public void setMaxConsumersPerSubscription(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
int maxConsumersPerSubscription)
@GET
@Path(value="/{property}/{cluster}/{namespace}/compactionThreshold")
public long getCompactionThreshold(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@PUT
@Path(value="/{property}/{cluster}/{namespace}/compactionThreshold")
public void setCompactionThreshold(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
long newThreshold)
@GET
@Path(value="/{property}/{cluster}/{namespace}/offloadThreshold")
public long getOffloadThreshold(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@PUT
@Path(value="/{property}/{cluster}/{namespace}/offloadThreshold")
public void setOffloadThreshold(@PathParam(value="property")
String property,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
long newThreshold)
@GET
@Path(value="/{tenant}/{cluster}/{namespace}/schemaAutoUpdateCompatibilityStrategy")
public org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy getSchemaAutoUpdateCompatibilityStrategy(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace)
@PUT
@Path(value="/{tenant}/{cluster}/{namespace}/schemaAutoUpdateCompatibilityStrategy")
public void setSchemaAutoUpdateCompatibilityStrategy(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.