public class LightBoltDeclarer extends Object implements IBoltDeclarer
Constructor and Description |
---|
LightBoltDeclarer(LightTopology topology,
String boltComponentId,
org.apache.storm.topology.IRichBolt bolt,
int boltExecutors)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
allGrouping(String componentId,
String streamEndOfBatch) |
void |
fieldsGrouping(String componentId,
String streamId,
org.apache.storm.tuple.Fields usedPartitionGroupingFields) |
void |
localOrShuffleGrouping(String sourceComponentId,
String streamId) |
void |
shuffleGrouping(String componentId,
String streamId) |
public LightBoltDeclarer(LightTopology topology, String boltComponentId, org.apache.storm.topology.IRichBolt bolt, int boltExecutors)
topology
- the owner light topologyboltComponentId
- the bolt corresponding identifier, i.e. "mytenant_ltr_in"bolt
- the bolt object, created fro the bolt factory by the TopologyFactory
.boltExecutors
- the number of executorpublic void localOrShuffleGrouping(String sourceComponentId, String streamId)
localOrShuffleGrouping
in interface IBoltDeclarer
public void shuffleGrouping(String componentId, String streamId)
shuffleGrouping
in interface IBoltDeclarer
public void fieldsGrouping(String componentId, String streamId, org.apache.storm.tuple.Fields usedPartitionGroupingFields)
fieldsGrouping
in interface IBoltDeclarer
public void allGrouping(String componentId, String streamEndOfBatch)
allGrouping
in interface IBoltDeclarer
Copyright © 2023. All rights reserved.