Reactive Pulsar Client

Table of Contents

When you use the Reactive Pulsar Spring Boot Starter, you get the ReactivePulsarClient auto-configured.spring-doc.cn

By default, the application tries to connect to a local Pulsar instance at pulsar://localhost:6650. This can be adjusted by setting the spring.pulsar.client.service-url property to a different value.spring-doc.cn

The value must be a valid Pulsar Protocol URL

There are many other application properties (inherited from the adapted imperative client) available to configure. See the spring.pulsar.client.* application properties.spring-doc.cn

1. Authentication

To connect to a Pulsar cluster that requires authentication, follow the same steps as the imperative client. Again, this is because the reactive client adapts the imperative client which handles all security configuration.spring-doc.cn