public class BrokersBase extends AdminResource
namespaceName, PARTITIONED_TOPIC_PATH_ZNODE, topicNamehttpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
BrokersBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
backlogQuotaCheck(javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
deleteDynamicConfiguration(String configName) |
Set<String> |
getActiveBrokers(String cluster) |
Map<String,String> |
getAllDynamicConfigurations() |
List<String> |
getDynamicConfigurationName() |
org.apache.pulsar.common.conf.InternalConfigurationData |
getInternalConfigurationData() |
Map<String,org.apache.pulsar.common.policies.data.NamespaceOwnershipStatus> |
getOwnedNamespaces(String cluster,
String broker) |
Map<String,String> |
getRuntimeConfiguration() |
void |
healthcheck(javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
isReady(javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
updateDynamicConfiguration(String configName,
String configValue) |
String |
version() |
checkArgument, 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="/{cluster}")
public Set<String> getActiveBrokers(@PathParam(value="cluster")
String cluster)
throws Exception
Exception@GET
@Path(value="/{clusterName}/{broker-webserviceurl}/ownedNamespaces")
public Map<String,org.apache.pulsar.common.policies.data.NamespaceOwnershipStatus> getOwnedNamespaces(@PathParam(value="clusterName")
String cluster,
@PathParam(value="broker-webserviceurl")
String broker)
throws Exception
Exception@POST
@Path(value="/configuration/{configName}/{configValue}")
public void updateDynamicConfiguration(@PathParam(value="configName")
String configName,
@PathParam(value="configValue")
String configValue)
throws Exception
Exception@DELETE
@Path(value="/configuration/{configName}")
public void deleteDynamicConfiguration(@PathParam(value="configName")
String configName)
throws Exception
Exception@GET @Path(value="/configuration/values") public Map<String,String> getAllDynamicConfigurations() throws Exception
Exception@GET @Path(value="/configuration") public List<String> getDynamicConfigurationName()
@GET @Path(value="/configuration/runtime") public Map<String,String> getRuntimeConfiguration()
@GET @Path(value="/internal-configuration") public org.apache.pulsar.common.conf.InternalConfigurationData getInternalConfigurationData()
@GET
@Path(value="/backlog-quota-check")
public void backlogQuotaCheck(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
@GET
@Path(value="/ready")
public void isReady(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
@GET
@Path(value="/health")
public void healthcheck(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
throws Exception
ExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.