public interface SystemTopicClient<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SystemTopicClient.Reader<T>
Reader for system topic.
|
static interface |
SystemTopicClient.Writer<T>
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<T>> |
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<T>> |
getWriters()
Get all writers of the system topic.
|
SystemTopicClient.Reader<T> |
newReader()
Create a reader for the system topic.
|
CompletableFuture<SystemTopicClient.Reader<T>> |
newReaderAsync()
Create a reader for the system topic asynchronously.
|
SystemTopicClient.Writer<T> |
newWriter()
Create a writer for the system topic.
|
CompletableFuture<SystemTopicClient.Writer<T>> |
newWriterAsync()
Create a writer for the system topic asynchronously.
|
org.apache.pulsar.common.naming.TopicName getTopicName()
SystemTopicClient.Reader<T> newReader() throws org.apache.pulsar.client.api.PulsarClientException
org.apache.pulsar.client.api.PulsarClientExceptionCompletableFuture<SystemTopicClient.Reader<T>> newReaderAsync()
SystemTopicClient.Writer<T> newWriter() throws org.apache.pulsar.client.api.PulsarClientException
org.apache.pulsar.client.api.PulsarClientExceptionCompletableFuture<SystemTopicClient.Writer<T>> newWriterAsync()
CompletableFuture<Void> closeAsync()
List<SystemTopicClient.Writer<T>> getWriters()
Set the set of writersList<SystemTopicClient.Reader<T>> getReaders()
Set the set of readersCopyright © 2017–2022 Apache Software Foundation. All rights reserved.