public interface IPartitionedTransactionalSpout<T> extends IComponent
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 |
IPartitionedTransactionalSpout.Coordinator |
static interface |
IPartitionedTransactionalSpout.Emitter<X> |
Modifier and Type | Method and Description |
---|---|
IPartitionedTransactionalSpout.Coordinator |
getCoordinator(Map conf,
TopologyContext context) |
IPartitionedTransactionalSpout.Emitter<T> |
getEmitter(Map conf,
TopologyContext context) |
declareOutputFields, getComponentConfiguration
IPartitionedTransactionalSpout.Coordinator getCoordinator(Map conf, TopologyContext context)
IPartitionedTransactionalSpout.Emitter<T> getEmitter(Map conf, TopologyContext context)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.