storm.trident.spout
Interface IPartitionedTridentSpout<Partitions,Partition extends ISpoutPartition,T>

All Superinterfaces:
Serializable

public interface IPartitionedTridentSpout<Partitions,Partition extends ISpoutPartition,T>
extends Serializable

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.


Nested Class Summary
static interface IPartitionedTridentSpout.Coordinator<Partitions>
           
static interface IPartitionedTridentSpout.Emitter<Partitions,Partition extends ISpoutPartition,X>
           
 
Method Summary
 Map getComponentConfiguration()
           
 IPartitionedTridentSpout.Coordinator<Partitions> getCoordinator(Map conf, TopologyContext context)
           
 IPartitionedTridentSpout.Emitter<Partitions,Partition,T> getEmitter(Map conf, TopologyContext context)
           
 Fields getOutputFields()
           
 

Method Detail

getCoordinator

IPartitionedTridentSpout.Coordinator<Partitions> getCoordinator(Map conf,
                                                                TopologyContext context)

getEmitter

IPartitionedTridentSpout.Emitter<Partitions,Partition,T> getEmitter(Map conf,
                                                                    TopologyContext context)

getComponentConfiguration

Map getComponentConfiguration()

getOutputFields

Fields getOutputFields()


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.