public class KafkaConnectorOutgoingConfiguration extends KafkaConnectorCommonConfiguration
smallrye-kafka
connector.config
Constructor and Description |
---|
KafkaConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config)
Creates a new KafkaConnectorOutgoingConfiguration.
|
Modifier and Type | Method and Description |
---|---|
String |
getAcks()
Gets the acks value from the configuration.
|
Long |
getBufferMemory()
Gets the buffer.memory value from the configuration.
|
Optional<String> |
getKey()
Gets the key value from the configuration.
|
String |
getKeySerializer()
Gets the key.serializer value from the configuration.
|
Integer |
getPartition()
Gets the partition value from the configuration.
|
Long |
getRetries()
Gets the retries value from the configuration.
|
String |
getValueSerializer()
Gets the value.serializer value from the configuration.
|
Boolean |
getWaitForWriteCompletion()
Gets the waitForWriteCompletion value from the configuration.
|
void |
validate() |
config, getBootstrapServers, getChannel, getFromAlias, getFromAliasWithDefaultValue, getTopic
public KafkaConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config)
public String getKeySerializer()
public String getValueSerializer()
public String getAcks()
public Long getBufferMemory()
public Long getRetries()
public Optional<String> getKey()
public Integer getPartition()
public Boolean getWaitForWriteCompletion()
public void validate()
validate
in class KafkaConnectorCommonConfiguration
Copyright © 2018–2020 SmallRye. All rights reserved.