Uses of Interface
org.apache.pulsar.client.api.Reader
-
Uses of Reader in org.apache.pulsar.client.api
Modifier and TypeMethodDescriptionReaderBuilder.create()
Finalize the creation of theReader
instance.Modifier and TypeMethodDescriptionReaderBuilder.createAsync()
Finalize the creation of theReader
instance in asynchronous mode.Modifier and TypeMethodDescriptionReaderInterceptor.beforeRead
(Reader<T> reader, Message<T> message) This is called just before the message is returned byreadNext()
,ReaderListener.received(Reader, Message)
or theCompletableFuture
returned byreadNextAsync()
completes.default void
ReaderListener.reachedEndOfTopic
(Reader<T> reader) Get the notification when a topic is terminated.void
This method is called whenever a new message is received.