public class KafkaEndpointConfiguration extends AbstractPollableEndpointConfiguration
| Constructor and Description |
|---|
KafkaEndpointConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAutoCommitInterval()
Gets the autoCommitInterval.
|
String |
getClientId()
Gets the clientId.
|
String |
getConsumerGroup()
Gets the group.
|
Map<String,Object> |
getConsumerProperties()
Gets the consumerProperties.
|
KafkaMessageHeaderMapper |
getHeaderMapper()
Gets the headerMapper.
|
Class<? extends org.apache.kafka.common.serialization.Deserializer> |
getKeyDeserializer()
Gets the keyDeserializer.
|
Class<? extends org.apache.kafka.common.serialization.Serializer> |
getKeySerializer()
Gets the keySerializer.
|
KafkaMessageConverter |
getMessageConverter()
Gets the message converter.
|
String |
getOffsetReset()
Gets the offsetReset.
|
int |
getPartition()
Gets the partition.
|
Map<String,Object> |
getProducerProperties()
Gets the producerProperties.
|
String |
getServer()
Gets the server.
|
String |
getTopic()
Gets the topic name.
|
Class<? extends org.apache.kafka.common.serialization.Deserializer> |
getValueDeserializer()
Gets the valueDeserializer.
|
Class<? extends org.apache.kafka.common.serialization.Serializer> |
getValueSerializer()
Gets the valueSerializer.
|
boolean |
isAutoCommit()
Gets the autoCommit.
|
void |
setAutoCommit(boolean autoCommit)
Sets the autoCommit.
|
void |
setAutoCommitInterval(int autoCommitInterval)
Sets the autoCommitInterval.
|
void |
setClientId(String clientId)
Sets the clientId.
|
void |
setConsumerGroup(String consumerGroup)
Sets the group.
|
void |
setConsumerProperties(Map<String,Object> consumerProperties)
Sets the consumerProperties.
|
void |
setHeaderMapper(KafkaMessageHeaderMapper headerMapper)
Sets the headerMapper.
|
void |
setKeyDeserializer(Class<? extends org.apache.kafka.common.serialization.Deserializer> keyDeserializer)
Sets the keyDeserializer.
|
void |
setKeySerializer(Class<? extends org.apache.kafka.common.serialization.Serializer> keySerializer)
Sets the keySerializer.
|
void |
setMessageConverter(KafkaMessageConverter messageConverter)
Sets the message converter.
|
void |
setOffsetReset(String offsetReset)
Sets the offsetReset.
|
void |
setPartition(int partition)
Sets the partition.
|
void |
setProducerProperties(Map<String,Object> producerProperties)
Sets the producerProperties.
|
void |
setServer(String server)
Sets the server.
|
void |
setTopic(String topic)
Sets the topic name.
|
void |
setValueDeserializer(Class<? extends org.apache.kafka.common.serialization.Deserializer> valueDeserializer)
Sets the valueDeserializer.
|
void |
setValueSerializer(Class<? extends org.apache.kafka.common.serialization.Serializer> valueSerializer)
Sets the valueSerializer.
|
getPollingInterval, setPollingIntervalgetTimeout, setTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTimeout, setTimeoutpublic String getTopic()
public void setTopic(String topic)
topic - the topic to setpublic KafkaMessageConverter getMessageConverter()
public void setMessageConverter(KafkaMessageConverter messageConverter)
messageConverter - public KafkaMessageHeaderMapper getHeaderMapper()
public void setHeaderMapper(KafkaMessageHeaderMapper headerMapper)
headerMapper - public void setServer(String server)
server - public String getServer()
public String getConsumerGroup()
public void setConsumerGroup(String consumerGroup)
consumerGroup - public Class<? extends org.apache.kafka.common.serialization.Serializer> getKeySerializer()
public void setKeySerializer(Class<? extends org.apache.kafka.common.serialization.Serializer> keySerializer)
keySerializer - public Class<? extends org.apache.kafka.common.serialization.Serializer> getValueSerializer()
public void setValueSerializer(Class<? extends org.apache.kafka.common.serialization.Serializer> valueSerializer)
valueSerializer - public Class<? extends org.apache.kafka.common.serialization.Deserializer> getKeyDeserializer()
public void setKeyDeserializer(Class<? extends org.apache.kafka.common.serialization.Deserializer> keyDeserializer)
keyDeserializer - public Class<? extends org.apache.kafka.common.serialization.Deserializer> getValueDeserializer()
public void setValueDeserializer(Class<? extends org.apache.kafka.common.serialization.Deserializer> valueDeserializer)
valueDeserializer - public Map<String,Object> getConsumerProperties()
public void setConsumerProperties(Map<String,Object> consumerProperties)
consumerProperties - public Map<String,Object> getProducerProperties()
public void setProducerProperties(Map<String,Object> producerProperties)
producerProperties - public String getClientId()
public void setClientId(String clientId)
clientId - public String getOffsetReset()
public void setOffsetReset(String offsetReset)
offsetReset - public boolean isAutoCommit()
public void setAutoCommit(boolean autoCommit)
autoCommit - public int getAutoCommitInterval()
public void setAutoCommitInterval(int autoCommitInterval)
autoCommitInterval - public int getPartition()
public void setPartition(int partition)
partition - Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.