|Modifier and Type||Interface and Description|
|Modifier and Type||Method and Description|
The emitter for a TransactionalSpout runs as many tasks across the cluster.
ICommitterTridentSpout.Emitter getEmitter(String txStateId, Map<String,Object> conf, TopologyContext context)
The emitter for a TransactionalSpout runs as many tasks across the cluster. Emitters are responsible for emitting batches of tuples for a transaction and must ensure that the same batch of tuples is always emitted for the same transaction id.
All emitter tasks get the same transaction metadata. The topology context parameter contains the instance task id that can be used to distribute the work across the tasks.
Copyright © 2019 The Apache Software Foundation. All rights reserved.