storm.kafka.trident
Class TridentKafkaState
java.lang.Object
storm.kafka.trident.TridentKafkaState
- All Implemented Interfaces:
- State
public class TridentKafkaState
- extends Object
- implements State
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KAFKA_BROKER_PROPERTIES
public static final String KAFKA_BROKER_PROPERTIES
- See Also:
- Constant Field Values
TridentKafkaState
public TridentKafkaState()
withTridentTupleToKafkaMapper
public TridentKafkaState withTridentTupleToKafkaMapper(TridentTupleToKafkaMapper mapper)
withKafkaTopicSelector
public TridentKafkaState withKafkaTopicSelector(KafkaTopicSelector selector)
beginCommit
public void beginCommit(Long txid)
- Specified by:
beginCommit
in interface State
commit
public void commit(Long txid)
- Specified by:
commit
in interface State
prepare
public void prepare(Map stormConf)
updateState
public void updateState(List<TridentTuple> tuples,
TridentCollector collector)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.