Interface PulsarClientConfiguration
- All Known Implementing Classes:
DefaultPulsarClientConfiguration
public interface PulsarClientConfiguration
Basic requirements for custom and default configuration to create Pulsar client.
- Since:
- 1.0
- Author:
- Haris Secic
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pulsar.client.api.AuthenticationUseful for avoiding hard coding tenant name into every annotation value for producers, consumers, or readers.default Optional<org.apache.pulsar.client.api.ProxyProtocol> default Optional<org.apache.pulsar.client.api.ServiceUrlProvider> Optional provider for Pulsar services URL.Ciphers like TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.Protocols like TLSv1.3, TLSv1.2.Useful in development environment for using with local host or such.
-
Method Details
-
getServiceUrl
String getServiceUrl() -
getServiceUrlProvider
Optional provider for Pulsar services URL.- Returns:
- Optional bean for fetching Pulsar services URLs
-
getAuthentication
org.apache.pulsar.client.api.Authentication getAuthentication()- Returns:
- Authentication method for pulsar clients
-
getIoThreads
-
getListenerThreads
-
getSslProvider
-
getTlsTrustStorePath
-
getTlsTrustStorePassword
-
getTlsCertFilePath
-
getTlsVerifyHostname
-
getTlsAllowInsecureConnection
-
getTlsCiphers
-
getTlsProtocols
-
getDefaultTenant
-
getProxyUrl
-
getProxyProtocol
-