use of org.apache.heron.integration_topology_test.common.spout.StatefulABSpout in project heron by twitter.
the class StatefulBasicTopologyOneTask method buildStatefulTopology.
@Override
protected TopologyTestTopologyBuilder buildStatefulTopology(TopologyTestTopologyBuilder builder) {
builder.setSpout("stateful-ab-spout", new StatefulABSpout(true), 1);
builder.setBolt("stateful-identity-bolt", new StatefulIdentityBolt(new Fields("word")), 3).shuffleGrouping("stateful-ab-spout");
return builder;
}
Aggregations