public static void main(String[] args) throws Exception {
Config conf = new Config();
// conf.put(Config.TOPOLOGY_DEBUG,true);
LocalCluster cluster = new LocalCluster();
cluster.submitTopology("advanced_primitives", conf, advancedPrimitives(new FakeTweetsBatchSpout(1000)));
Thread.sleep(30000);
cluster.shutdown();
}