public static class KafkaExample.KSource extends KafkaSource
cfg, context
Constructor and Description |
---|
KSource() |
Modifier and Type | Method and Description |
---|---|
java.util.Properties |
getConsumerProperties() |
java.time.Duration |
getPollingTimeout() |
java.util.Set<java.lang.String> |
getTopics() |
void |
writeRecord(ConsumerRecord kafkaRecord) |
execute, getConsumerGroup, getKafkaConsumer, initSnapshot, onCheckpointPropagated, prepare, restoreSnapshot, takeSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onSnapshotPersisted
public java.util.Properties getConsumerProperties()
getConsumerProperties
in class KafkaSource
public java.util.Set<java.lang.String> getTopics()
getTopics
in class KafkaSource
public void writeRecord(ConsumerRecord kafkaRecord)
writeRecord
in class KafkaSource
public java.time.Duration getPollingTimeout()
getPollingTimeout
in class KafkaSource