TopologyBuilder builder = new TopologyBuilder();
builder.setSpout("eventSpout", new EventSpout());
builder.setSpout("commandSpout", new JuggaloaderCommandSpout());
builder.setBolt("accountMetricsBolt", new AccountMetricsBolt())
.shuffleGrouping("eventSpout", GroupingNameConstants.ACCOUNT_GROUPING_NAME);
builder.setBolt("connectionMetricsBolt", new ConnectionMetricsBolt())
.shuffleGrouping("eventSpout", GroupingNameConstants.CONNECTION_GROUPING_NAME);
builder.setBolt("inventoryItemMetricsBolt", new InventoryItemMetricsBolt())
.shuffleGrouping("eventSpout", GroupingNameConstants.INVENTORY_ITEM_GROUPING_NAME);
builder.setBolt("userMetricsBolt", new UserMetricsBolt())
.shuffleGrouping("eventSpout", GroupingNameConstants.USER_GROUPING_NAME);