public class KafkaConnectorIncomingConfiguration extends KafkaConnectorCommonConfiguration
smallrye-kafka
connector.config
Constructor and Description |
---|
KafkaConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config)
Creates a new KafkaConnectorIncomingConfiguration.
|
Modifier and Type | Method and Description |
---|---|
String |
getAutoOffsetReset()
Gets the auto.offset.reset value from the configuration.
|
Boolean |
getBroadcast()
Gets the broadcast value from the configuration.
|
Optional<String> |
getCommitStrategy()
Gets the commit-strategy value from the configuration.
|
Optional<String> |
getConsumerRebalanceListenerName()
Gets the consumer-rebalance-listener.name value from the configuration.
|
Optional<String> |
getDeadLetterQueueKeySerializer()
Gets the dead-letter-queue.key.serializer value from the configuration.
|
Optional<String> |
getDeadLetterQueueTopic()
Gets the dead-letter-queue.topic value from the configuration.
|
Optional<String> |
getDeadLetterQueueValueSerializer()
Gets the dead-letter-queue.value.serializer value from the configuration.
|
Boolean |
getEnableAutoCommit()
Gets the enable.auto.commit value from the configuration.
|
String |
getFailureStrategy()
Gets the failure-strategy value from the configuration.
|
Integer |
getFetchMinBytes()
Gets the fetch.min.bytes value from the configuration.
|
Boolean |
getGracefulShutdown()
Gets the graceful-shutdown value from the configuration.
|
Optional<String> |
getGroupId()
Gets the group.id value from the configuration.
|
Optional<String> |
getKeyDeserializationFailureHandler()
Gets the key-deserialization-failure-handler value from the configuration.
|
String |
getKeyDeserializer()
Gets the key.deserializer value from the configuration.
|
Integer |
getPartitions()
Gets the partitions value from the configuration.
|
Boolean |
getPattern()
Gets the pattern value from the configuration.
|
Boolean |
getPauseIfNoRequests()
Gets the pause-if-no-requests value from the configuration.
|
Integer |
getPollTimeout()
Gets the poll-timeout value from the configuration.
|
Boolean |
getRetry()
Gets the retry value from the configuration.
|
Integer |
getRetryAttempts()
Gets the retry-attempts value from the configuration.
|
Integer |
getRetryMaxWait()
Gets the retry-max-wait value from the configuration.
|
Integer |
getThrottledUnprocessedRecordMaxAgeMs()
Gets the throttled.unprocessed-record-max-age.ms value from the configuration.
|
Optional<String> |
getTopics()
Gets the topics value from the configuration.
|
Optional<String> |
getValueDeserializationFailureHandler()
Gets the value-deserialization-failure-handler value from the configuration.
|
String |
getValueDeserializer()
Gets the value.deserializer value from the configuration.
|
void |
validate() |
config, getBootstrapServers, getChannel, getCloudEvents, getFromAlias, getFromAliasWithDefaultValue, getHealthEnabled, getHealthReadinessEnabled, getHealthReadinessTimeout, getHealthReadinessTopicVerification, getTopic, getTracingEnabled
public KafkaConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config)
public Optional<String> getTopics()
public Boolean getPattern()
public String getKeyDeserializer()
public String getValueDeserializer()
public Integer getFetchMinBytes()
public Optional<String> getGroupId()
public Boolean getEnableAutoCommit()
public Boolean getRetry()
public Integer getRetryAttempts()
public Integer getRetryMaxWait()
public Boolean getBroadcast()
public String getAutoOffsetReset()
public String getFailureStrategy()
public Optional<String> getCommitStrategy()
public Integer getThrottledUnprocessedRecordMaxAgeMs()
public Optional<String> getDeadLetterQueueTopic()
public Optional<String> getDeadLetterQueueKeySerializer()
public Optional<String> getDeadLetterQueueValueSerializer()
public Integer getPartitions()
public Optional<String> getConsumerRebalanceListenerName()
public Optional<String> getKeyDeserializationFailureHandler()
public Optional<String> getValueDeserializationFailureHandler()
public Boolean getGracefulShutdown()
public Integer getPollTimeout()
public Boolean getPauseIfNoRequests()
public void validate()
validate
in class KafkaConnectorCommonConfiguration
Copyright © 2018–2021 SmallRye. All rights reserved.