Configuration Reference

Version:2.4.0

Micronaut Pulsar Config Properties

🔗
Table 1. Configuration Properties for DefaultPulsarClientConfiguration
Property Type Description

pulsar.io-threads

java.lang.Integer

Number of threads to use with read operations

pulsar.listener-threads

java.lang.Integer

Number of threads to use with message example.java.listeners.

pulsar.authentication-jwt

java.lang.String

pulsar.ssl-provider

java.lang.String

Defaults to default JVM provider.

pulsar.tls-trust-store-path

java.lang.String

pulsar.tls-trust-store-password

java.lang.String

pulsar.tls-cert-file-path

java.lang.String

pulsar.tls-verify-hostname

java.lang.Boolean

pulsar.tls-allow-insecure-connection

java.lang.Boolean

pulsar.tls-ciphers

java.util.Set

pulsar.tls-protocols

java.util.Set

pulsar.service-url

java.lang.String

pulsar.oauth-audience

java.lang.String

Must be set for usage with the OAuth2 authentication.

pulsar.oauth-credentials-url

java.net.URL

URL or a path to a file containing client id, client secret, and such for OAuth2 client application.

pulsar.oauth-issuer-url

java.net.URL

URL of the OAuth2 Token issuer

pulsar.use-dead-letter-queue

java.lang.Boolean

If not set defaults to true which means that after max number of retries failed message is sent to DLQ and won’t be resent again.

pulsar.default-max-retry-dlq

int

If not set defaults to 16 (Pulsar library default). {@code #useDeadLetterQueue} must be enabled or else this value is ignored.

pulsar.default-tenant

java.lang.String

Use in combination with ${tenant} placeholder in annotation.PulsarConsumer#topic(), annotation.PulsarConsumer#topics(), annotation.PulsarConsumer#topicsPattern(), annotation.PulsarReader#topic(), annotation.PulsarProducer#topic() to avoid hardcoding tenant name into source code through mentioned annotations. <p> This property will be ignored if multi-tenancy module is enabled.