}
}
public static void main(String[] args) throws Exception {
TopologyBuilder builder = new TopologyBuilder();
KestrelThriftSpout spout = new KestrelThriftSpout("localhost", 2229, "test", new StringScheme());
builder.setSpout("spout", spout).setDebug(true);
builder.setBolt("bolt", new FailEveryOther())
.shuffleGrouping("spout");
LocalCluster cluster = new LocalCluster();