Package org.apache.storm.kafka.trident
Class TridentKafkaStateFactory<K,V> 
java.lang.Object
org.apache.storm.kafka.trident.TridentKafkaStateFactory<K,V> 
- All Implemented Interfaces:
- Serializable,- StateFactory
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionmakeState(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) withKafkaTopicSelector(KafkaTopicSelector selector) withProducerProperties(Properties props) 
- 
Constructor Details- 
TridentKafkaStateFactorypublic TridentKafkaStateFactory()
 
- 
- 
Method Details- 
withTridentTupleToKafkaMapperpublic TridentKafkaStateFactory<K,V> withTridentTupleToKafkaMapper(TridentTupleToKafkaMapper<K, V> mapper) 
- 
withKafkaTopicSelector
- 
withProducerProperties
- 
makeStatepublic State makeState(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) - Specified by:
- makeStatein interface- StateFactory
 
 
-