public class KafkaSource.KafkaSourceState
extends io.siddhi.core.util.snapshot.state.State
| Constructor and Description |
|---|
KafkaSourceState(boolean seqEnabled) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDestroy() |
Map<String,Map<io.siddhi.extension.io.kafka.source.SequenceKey,Integer>> |
getConsumerLastReceivedSeqNoMap() |
Map<String,Map<Integer,Long>> |
getTopicOffsetMap() |
void |
restore(Map<String,Object> state) |
Map<String,Object> |
snapshot() |
public Map<String,Map<io.siddhi.extension.io.kafka.source.SequenceKey,Integer>> getConsumerLastReceivedSeqNoMap()
public Map<String,Object> snapshot()
snapshot in class io.siddhi.core.util.snapshot.state.Statepublic void restore(Map<String,Object> state)
restore in class io.siddhi.core.util.snapshot.state.Statepublic boolean canDestroy()
canDestroy in class io.siddhi.core.util.snapshot.state.StateCopyright © 2020 WSO2. All rights reserved.