public interface SystemTopicClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SystemTopicClient.Reader
Reader for system topic
|
static interface |
SystemTopicClient.Writer
Writer for system topic
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the system topic
|
CompletableFuture<Void> |
closeAsync()
Close the system topic asynchronously.
|
List<SystemTopicClient.Reader> |
getReaders()
Get all readers of the system topic
|
org.apache.pulsar.common.naming.TopicName |
getTopicName()
Get topic name of the system topic.
|
List<SystemTopicClient.Writer> |
getWriters()
Get all writers of the system topic
|
static boolean |
isSystemTopic(org.apache.pulsar.common.naming.TopicName topicName) |
SystemTopicClient.Reader |
newReader()
Create a reader for the system topic.
|
CompletableFuture<SystemTopicClient.Reader> |
newReaderAsync()
Create a reader for the system topic asynchronously.
|
SystemTopicClient.Writer |
newWriter()
Create a writer for the system topic.
|
CompletableFuture<SystemTopicClient.Writer> |
newWriterAsync()
Create a writer for the system topic asynchronously.
|
org.apache.pulsar.common.naming.TopicName getTopicName()
SystemTopicClient.Reader newReader() throws org.apache.pulsar.client.api.PulsarClientException
org.apache.pulsar.client.api.PulsarClientExceptionCompletableFuture<SystemTopicClient.Reader> newReaderAsync()
SystemTopicClient.Writer newWriter() throws org.apache.pulsar.client.api.PulsarClientException
org.apache.pulsar.client.api.PulsarClientExceptionCompletableFuture<SystemTopicClient.Writer> newWriterAsync()
CompletableFuture<Void> closeAsync()
List<SystemTopicClient.Writer> getWriters()
List<SystemTopicClient.Reader> getReaders()
static boolean isSystemTopic(org.apache.pulsar.common.naming.TopicName topicName)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.