Package io.micronaut.pulsar.config
Class AbstractPulsarConfiguration<K,V>
java.lang.Object
io.micronaut.pulsar.config.AbstractPulsarConfiguration<K,V>
- Type Parameters:
K
- keyV
- value
- Direct Known Subclasses:
DefaultPulsarClientConfiguration
Base template class for configuring pulsar.
- Since:
- 1.0
- Author:
- Haris Secic
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default bootstrap server address for messaging.static final org.apache.pulsar.client.api.Authentication
By default Pulsar doesn't have any authentication.static final int
The default Apache Pulsar messaging port.static final String
The default server hostname or IP address.static final String
The default prefix used for Pulsar configuration.static final String
static final String
Regex for validating topic pattern.static final String
Regex for validating topic name. -
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_PULSAR_MESSAGING_PORT
public static final int DEFAULT_PULSAR_MESSAGING_PORTThe default Apache Pulsar messaging port.- See Also:
-
PREFIX
The default prefix used for Pulsar configuration.- See Also:
-
DEFAULT_SERVER_HOST_ADDRESS
The default server hostname or IP address.- See Also:
-
DEFAULT_BOOTSTRAP_SERVER
The default bootstrap server address for messaging.- See Also:
-
DEFAULT_PULSAR_AUTHENTICATION
public static final org.apache.pulsar.client.api.Authentication DEFAULT_PULSAR_AUTHENTICATIONBy default Pulsar doesn't have any authentication. -
TOPIC_NAME_VALIDATOR
Regex for validating topic name.- See Also:
-
TOPIC_NAME_PATTERN_VALIDATOR
Regex for validating topic pattern.- See Also:
-
TENANT_NAME_VALIDATOR
- See Also:
-
-
Constructor Details
-
AbstractPulsarConfiguration
-
-
Method Details
-
getConfig
- Returns:
- The Pulsar configuration
-