Interface ReactivePulsarClient
public interface ReactivePulsarClient
Apache Pulsar Reactive Client interface.
Contains methods to create builders for ReactiveMessageSender
,
ReactiveMessageReader
and ReactiveMessageConsumer
instances.
-
Method Summary
Modifier and TypeMethodDescriptionmessageConsumer
(org.apache.pulsar.client.api.Schema<T> schema) Creates a builder for building aReactiveMessageConsumer
.<T> ReactiveMessageReaderBuilder<T>
messageReader
(org.apache.pulsar.client.api.Schema<T> schema) Creates a builder for building aReactiveMessageReader
.<T> ReactiveMessageSenderBuilder<T>
messageSender
(org.apache.pulsar.client.api.Schema<T> schema) Creates a builder for building aReactiveMessageSender
.
-
Method Details
-
messageSender
Creates a builder for building aReactiveMessageSender
.- Type Parameters:
T
- the message payload type- Parameters:
schema
- the Pulsar Java client Schema for the message payload- Returns:
- a builder for building a
ReactiveMessageSender
-
messageReader
Creates a builder for building aReactiveMessageReader
.- Type Parameters:
T
- the message payload type- Parameters:
schema
- the Pulsar Java client Schema for the message payload- Returns:
- a builder for building a
ReactiveMessageReader
-
messageConsumer
<T> ReactiveMessageConsumerBuilder<T> messageConsumer(org.apache.pulsar.client.api.Schema<T> schema) Creates a builder for building aReactiveMessageConsumer
.- Type Parameters:
T
- the message payload type- Parameters:
schema
- the Pulsar Java client Schema for the message payload- Returns:
- a builder for building a
ReactiveMessageConsumer
-