public interface IPartitionedTridentSpout<PartitionsT,PartitionT 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<PartitionsT> |
static interface |
IPartitionedTridentSpout.Emitter<PartitionsT,PartitionT extends ISpoutPartition,X> |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getComponentConfiguration() |
IPartitionedTridentSpout.Coordinator<PartitionsT> |
getCoordinator(Map<String,Object> conf,
TopologyContext context) |
IPartitionedTridentSpout.Emitter<PartitionsT,PartitionT,T> |
getEmitter(Map<String,Object> conf,
TopologyContext context) |
Fields |
getOutputFields() |
IPartitionedTridentSpout.Coordinator<PartitionsT> getCoordinator(Map<String,Object> conf, TopologyContext context)
IPartitionedTridentSpout.Emitter<PartitionsT,PartitionT,T> getEmitter(Map<String,Object> conf, TopologyContext context)
Fields getOutputFields()
Copyright © 2022 The Apache Software Foundation. All rights reserved.