public interface IPartitionedTridentSpout<Partitions,Partition extends ISpoutPartition,T> extends ITridentDataSource
This interface defines a transactional spout that reads its tuples from a partitioned set of brokers. It automates the storing of metadata for each partition to ensure that the same batch is always emitted for the same transaction id. The partition metadata is stored in Zookeeper.
Modifier and Type | Interface and Description |
---|---|
static interface |
IPartitionedTridentSpout.Coordinator<Partitions> |
static interface |
IPartitionedTridentSpout.Emitter<Partitions,Partition extends ISpoutPartition,X> |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getComponentConfiguration() |
IPartitionedTridentSpout.Coordinator<Partitions> |
getCoordinator(Map<String,Object> conf,
TopologyContext context) |
IPartitionedTridentSpout.Emitter<Partitions,Partition,T> |
getEmitter(Map<String,Object> conf,
TopologyContext context) |
Fields |
getOutputFields() |
IPartitionedTridentSpout.Coordinator<Partitions> getCoordinator(Map<String,Object> conf, TopologyContext context)
IPartitionedTridentSpout.Emitter<Partitions,Partition,T> getEmitter(Map<String,Object> conf, TopologyContext context)
Fields getOutputFields()
Copyright © 2019 The Apache Software Foundation. All rights reserved.