public interface ICommitterTridentSpout<X> extends ITridentSpout<X>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ICommitterTridentSpout.Emitter |
ITridentSpout.BatchCoordinator<X>| Modifier and Type | Method and Description |
|---|---|
ICommitterTridentSpout.Emitter |
getEmitter(String txStateId,
Map<String,Object> conf,
TopologyContext context)
The emitter for a TransactionalSpout runs as many tasks across the cluster.
|
getComponentConfiguration, getCoordinator, getOutputFieldsICommitterTridentSpout.Emitter getEmitter(String txStateId, Map<String,Object> conf, TopologyContext context)
ITridentSpoutAll 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.
getEmitter in interface ITridentSpout<X>txStateId - stream idconf - Storm config mapcontext - topology contextCopyright © 2023 The Apache Software Foundation. All rights reserved.