public class TopicLookupBase extends PulsarWebResource
httpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
TopicLookupBase() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.pulsar.common.naming.TopicName |
getTopicName(String topicDomain,
String tenant,
String namespace,
String encodedTopic) |
protected org.apache.pulsar.common.naming.TopicName |
getTopicName(String topicDomain,
String tenant,
String cluster,
String namespace,
String encodedTopic) |
protected String |
internalGetNamespaceBundle(org.apache.pulsar.common.naming.TopicName topicName) |
protected void |
internalLookupTopicAsync(org.apache.pulsar.common.naming.TopicName topicName,
boolean authoritative,
javax.ws.rs.container.AsyncResponse asyncResponse,
String listenerName) |
static CompletableFuture<io.netty.buffer.ByteBuf> |
lookupTopicAsync(PulsarService pulsarService,
org.apache.pulsar.common.naming.TopicName topicName,
boolean authoritative,
String clientAppId,
AuthenticationDataSource authenticationData,
long requestId)
Lookup broker-service address for a given namespace-bundle which contains given topic.
|
static CompletableFuture<io.netty.buffer.ByteBuf> |
lookupTopicAsync(PulsarService pulsarService,
org.apache.pulsar.common.naming.TopicName topicName,
boolean authoritative,
String clientAppId,
AuthenticationDataSource authenticationData,
long requestId,
String advertisedListenerName)
Lookup broker-service address for a given namespace-bundle which contains given topic.
|
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, validateTopicPolicyOperationprotected void internalLookupTopicAsync(org.apache.pulsar.common.naming.TopicName topicName,
boolean authoritative,
javax.ws.rs.container.AsyncResponse asyncResponse,
String listenerName)
protected String internalGetNamespaceBundle(org.apache.pulsar.common.naming.TopicName topicName)
public static CompletableFuture<io.netty.buffer.ByteBuf> lookupTopicAsync(PulsarService pulsarService, org.apache.pulsar.common.naming.TopicName topicName, boolean authoritative, String clientAppId, AuthenticationDataSource authenticationData, long requestId)
pulsarService - topicName - authoritative - clientAppId - requestId - public static CompletableFuture<io.netty.buffer.ByteBuf> lookupTopicAsync(PulsarService pulsarService, org.apache.pulsar.common.naming.TopicName topicName, boolean authoritative, String clientAppId, AuthenticationDataSource authenticationData, long requestId, String advertisedListenerName)
pulsarService - topicName - authoritative - clientAppId - requestId - advertisedListenerName - protected org.apache.pulsar.common.naming.TopicName getTopicName(String topicDomain, String tenant, String cluster, String namespace, @Encoded String encodedTopic)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.