Modifier and Type | Field and Description |
---|---|
static String |
KAFKA_BROKER_PROPERTIES |
Constructor and Description |
---|
TridentKafkaState() |
Modifier and Type | Method and Description |
---|---|
void |
beginCommit(Long txid) |
void |
commit(Long txid) |
void |
prepare(Map stormConf) |
void |
updateState(List<TridentTuple> tuples,
TridentCollector collector) |
TridentKafkaState |
withKafkaTopicSelector(KafkaTopicSelector selector) |
TridentKafkaState |
withTridentTupleToKafkaMapper(TridentTupleToKafkaMapper mapper) |
public static final String KAFKA_BROKER_PROPERTIES
public TridentKafkaState withTridentTupleToKafkaMapper(TridentTupleToKafkaMapper mapper)
public TridentKafkaState withKafkaTopicSelector(KafkaTopicSelector selector)
public void beginCommit(Long txid)
beginCommit
in interface State
public void prepare(Map stormConf)
public void updateState(List<TridentTuple> tuples, TridentCollector collector)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.