Package | Description |
---|---|
org.apache.pulsar.client.api |
Modifier and Type | Method and Description |
---|---|
Reader<T> |
ReaderBuilder.create()
Finalize the creation of the
Reader instance. |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Reader<T>> |
ReaderBuilder.createAsync()
Finalize the creation of the
Reader instance in asynchronous mode. |
Modifier and Type | Method and Description |
---|---|
default void |
ReaderListener.reachedEndOfTopic(Reader<T> reader)
Get the notification when a topic is terminated
|
void |
ReaderListener.received(Reader<T> reader,
Message<T> msg)
This method is called whenever a new message is received.
|
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.