public class BrokersBase extends PulsarWebResource
| Modifier and Type | Field and Description |
|---|---|
static String |
HEALTH_CHECK_TOPIC_SUFFIX |
httpRequest, 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() |
org.apache.pulsar.common.policies.data.BrokerInfo |
getLeaderBroker() |
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,
org.apache.pulsar.common.naming.TopicVersion topicVersion) |
void |
isReady(javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
updateDynamicConfiguration(String configName,
String configValue) |
String |
version() |
bookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, handleCommonRestAsyncException, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isLeaderBroker, isRequestHttps, jsonMapper, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, setPulsar, splitPath, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateBundleOwnership, validateClusterExists, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTenantOperation, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperationpublic static final String HEALTH_CHECK_TOPIC_SUFFIX
@GET
@Path(value="/{cluster}")
public Set<String> getActiveBrokers(@PathParam(value="cluster")
String cluster)
throws Exception
Exception@GET
@Path(value="/leaderBroker")
public org.apache.pulsar.common.policies.data.BrokerInfo getLeaderBroker()
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,
@QueryParam(value="topicVersion")
org.apache.pulsar.common.naming.TopicVersion topicVersion)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.