public class TridentKafkaStateFactory extends Object implements StateFactory
Constructor and Description |
---|
TridentKafkaStateFactory() |
Modifier and Type | Method and Description |
---|---|
State |
makeState(Map conf,
IMetricsContext metrics,
int partitionIndex,
int numPartitions) |
TridentKafkaStateFactory |
withKafkaTopicSelector(KafkaTopicSelector selector) |
TridentKafkaStateFactory |
withProducerProperties(Properties props) |
TridentKafkaStateFactory |
withTridentTupleToKafkaMapper(TridentTupleToKafkaMapper mapper) |
public TridentKafkaStateFactory withTridentTupleToKafkaMapper(TridentTupleToKafkaMapper mapper)
public TridentKafkaStateFactory withKafkaTopicSelector(KafkaTopicSelector selector)
public TridentKafkaStateFactory withProducerProperties(Properties props)
public State makeState(Map conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
makeState
in interface StateFactory
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.