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) |
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.
|
checkAuthorization, checkConnect, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, config, getClusterDataIfDifferentCluster, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isLeaderBroker, isRequestHttps, joinPath, originalPrincipal, path, pulsar, setPulsar, splitPath, validateAdminAccessForTenant, validateAdminAccessForTenant, validateBundleOwnership, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOwnershipWithBundles, validateNamespacePolicyOperation, validateSuperUserAccess, validateTenantOperation, validateTopicOwnershipprotected void internalLookupTopicAsync(org.apache.pulsar.common.naming.TopicName topicName,
boolean authoritative,
javax.ws.rs.container.AsyncResponse asyncResponse)
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–2021 Apache Software Foundation. All rights reserved.