Class PulsarConnectorOutgoingConfiguration
java.lang.Object
io.smallrye.reactive.messaging.pulsar.PulsarConnectorCommonConfiguration
io.smallrye.reactive.messaging.pulsar.PulsarConnectorOutgoingConfiguration
Extract the outgoing configuration for the
smallrye-pulsar connector.-
Field Summary
Fields inherited from class io.smallrye.reactive.messaging.pulsar.PulsarConnectorCommonConfiguration
config -
Constructor Summary
ConstructorsConstructorDescriptionPulsarConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new PulsarConnectorOutgoingConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionGets the maxPendingMessages value from the configuration.Gets the producer-configuration value from the configuration.Gets the waitForWriteCompletion value from the configuration.voidvalidate()Methods inherited from class io.smallrye.reactive.messaging.pulsar.PulsarConnectorCommonConfiguration
config, getChannel, getClientConfiguration, getFromAlias, getFromAliasWithDefaultValue, getHealthEnabled, getSchema, getServiceUrl, getTopic, getTracingEnabled
-
Constructor Details
-
PulsarConnectorOutgoingConfiguration
public PulsarConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new PulsarConnectorOutgoingConfiguration.
-
-
Method Details
-
getProducerConfiguration
Gets the producer-configuration value from the configuration. Attribute Name: producer-configuration Description: Identifier of a CDI bean that provides the default Pulsar producer configuration for this channel. The channel configuration can still override any attribute. The bean must have a type of Map<String, Object> and must use the @io.smallrye.common.annotation.Identifier qualifier to set the identifier.- Returns:
- the producer-configuration
-
getMaxPendingMessages
Gets the maxPendingMessages value from the configuration. Attribute Name: maxPendingMessages Description: The maximum size of a queue holding pending messages, i.e messages waiting to receive an acknowledgment from a broker Default Value: 1000- Returns:
- the maxPendingMessages
-
getWaitForWriteCompletion
Gets the waitForWriteCompletion value from the configuration. Attribute Name: waitForWriteCompletion Description: Whether the client waits for the broker to acknowledge the written record before acknowledging the message Default Value: true- Returns:
- the waitForWriteCompletion
-
validate
public void validate()- Overrides:
validatein classPulsarConnectorCommonConfiguration
-