public class LookupImpl extends BaseResource implements Lookup
auth, readTimeoutMs| Constructor and Description |
|---|
LookupImpl(javax.ws.rs.client.WebTarget web,
org.apache.pulsar.client.api.Authentication auth,
boolean useTls,
long readTimeoutMs,
Topics topics) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBundleRange(String topic)
Get a bundle range of a topic.
|
CompletableFuture<String> |
getBundleRangeAsync(String topic)
Get a bundle range of a topic asynchronously.
|
Map<String,String> |
lookupPartitionedTopic(String topic)
Lookup a partitioned topic.
|
CompletableFuture<Map<String,String>> |
lookupPartitionedTopicAsync(String topic)
Lookup a partitioned topic.
|
String |
lookupTopic(String topic)
Lookup a topic.
|
CompletableFuture<String> |
lookupTopicAsync(String topic)
Lookup a topic asynchronously.
|
asyncDeleteRequest, asyncGetRequest, asyncPostRequest, asyncPutRequest, getApiException, getApiException, request, requestAsyncpublic LookupImpl(javax.ws.rs.client.WebTarget web,
org.apache.pulsar.client.api.Authentication auth,
boolean useTls,
long readTimeoutMs,
Topics topics)
public String lookupTopic(String topic) throws PulsarAdminException
LookuplookupTopic in interface LookupPulsarAdminExceptionpublic CompletableFuture<String> lookupTopicAsync(String topic)
LookuplookupTopicAsync in interface Lookuppublic Map<String,String> lookupPartitionedTopic(String topic) throws PulsarAdminException
LookuplookupPartitionedTopic in interface LookupPulsarAdminExceptionpublic CompletableFuture<Map<String,String>> lookupPartitionedTopicAsync(String topic)
LookuplookupPartitionedTopicAsync in interface Lookuppublic String getBundleRange(String topic) throws PulsarAdminException
LookupgetBundleRange in interface LookupPulsarAdminExceptionpublic CompletableFuture<String> getBundleRangeAsync(String topic)
LookupgetBundleRangeAsync in interface LookupCopyright © 2017–2021 Apache Software Foundation. All rights reserved.