@Path(value="/worker") public class Worker extends AdminResource implements Supplier<WorkerService>
namespaceName, PARTITIONED_TOPIC_PATH_ZNODE, POLICIES_READONLY_FLAG_PATH, topicNamehttpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
Worker() |
| Modifier and Type | Method and Description |
|---|---|
WorkerService |
get() |
Map<String,Collection<String>> |
getAssignments() |
List<org.apache.pulsar.common.functions.WorkerInfo> |
getCluster() |
org.apache.pulsar.common.functions.WorkerInfo |
getClusterLeader() |
List<org.apache.pulsar.common.io.ConnectorDefinition> |
getConnectorsList() |
Boolean |
isLeaderReady() |
void |
rebalance() |
bookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, dispatchRate, domain, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, isLeaderBroker, isNamespaceReplicated, jsonMapper, localCacheService, localZk, localZkCache, localZKCreate, mergeNamespaceWithDefaults, namespaceBacklogQuota, replicatorDispatchRate, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTopicName, validateTopicNamecanUpdateCluster, checkAuthorization, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, deleteRecursive, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getListOfNamespaces, getListOfResourcegroups, getLocalPolicies, getPulsarResources, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, joinPath, listSubTreeBFS, namespaceIsolationPolicies, namespaceResources, originalPrincipal, path, pulsar, resourceGroupResources, setPulsar, splitPath, tenantResources, validateAdminAccessForTenant, validateBrokerName, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespacePolicyOperation, validateTenantOperation, validateTopicOperation, validateTopicOperation, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperationpublic WorkerService get()
get in interface Supplier<WorkerService>@GET @Path(value="/cluster") @Produces(value="application/json") public List<org.apache.pulsar.common.functions.WorkerInfo> getCluster()
@GET @Path(value="/cluster/leader") @Produces(value="application/json") public org.apache.pulsar.common.functions.WorkerInfo getClusterLeader()
@GET @Path(value="/assignments") @Produces(value="application/json") public Map<String,Collection<String>> getAssignments()
@GET @Path(value="/connectors") @Produces(value="application/json") public List<org.apache.pulsar.common.io.ConnectorDefinition> getConnectorsList() throws IOException
IOException@PUT @Path(value="/rebalance") public void rebalance()
@GET @Path(value="/cluster/leader/ready") public Boolean isLeaderReady()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.