use of org.apache.heron.integration_test.common.bolt.IdentityBolt in project heron by twitter.
the class BasicTopologyOneTask method buildTopology.
@Override
protected TestTopologyBuilder buildTopology(TestTopologyBuilder builder) {
builder.setSpout("ab-spout", new ABSpout(true), 1);
builder.setBolt("identity-bolt", new IdentityBolt(new Fields("word")), 2).shuffleGrouping("ab-spout");
return builder;
}
use of org.apache.heron.integration_test.common.bolt.IdentityBolt in project heron by twitter.
the class OneSpoutMultiTasks method buildTopology.
@Override
protected TestTopologyBuilder buildTopology(TestTopologyBuilder builder) {
builder.setSpout("ab-spout", new ABSpout(), 3);
builder.setBolt("identity-bolt", new IdentityBolt(new Fields("word")), 1).shuffleGrouping("ab-spout");
return builder;
}
use of org.apache.heron.integration_test.common.bolt.IdentityBolt in project heron by twitter.
the class BasicTopologyOneTask method buildTopology.
@Override
protected TopologyBuilder buildTopology(TopologyBuilder builder) {
builder.setSpout("ab-spout", new ABSpout(true), 2);
builder.setBolt("identity-bolt", new IdentityBolt(new Fields("word")), 3).shuffleGrouping("ab-spout");
return builder;
}
use of org.apache.heron.integration_test.common.bolt.IdentityBolt in project heron by twitter.
the class BasicTopologyOneTask method buildTopology.
@Override
protected TopologyBuilder buildTopology(TopologyBuilder builder) {
builder.setSpout("ab-spout", new ABSpout(true), 1);
builder.setBolt("identity-bolt", new IdentityBolt(new Fields("word")), 3).shuffleGrouping("ab-spout");
return builder;
}
use of org.apache.heron.integration_test.common.bolt.IdentityBolt in project heron by twitter.
the class BasicTopologyOneTask method buildTopology.
@Override
protected TopologyBuilder buildTopology(TopologyBuilder builder) {
builder.setSpout("ab-spout", new ABSpout(true), 1);
builder.setBolt("identity-bolt", new IdentityBolt(new Fields("word")), 2).shuffleGrouping("ab-spout");
return builder;
}
Aggregations