alertSpec.addPublishPartition(streamId, policyName, publish.getName(), publish.getPartitionColumns());
new TypeReference<List<StreamDefinition>>() { }); spec.addPublishPartition("perfmon_latency_check_output2", policies.get(0).getName(), "testPublishBolt", null);
sds.put(sdTest.getStreamId(), sdTest); boltSpecs.addPublishPartition(TEST_STREAM, "policy-definition", "testAlertPublish", null);
sds.put(sdTest.getStreamId(), sdTest); boltSpecs.addPublishPartition(TEST_STREAM, "policy-definition", "testAlertPublish", null);
spec.addBoltPolicy("alertBolt1", pd.getName()); spec.getBoltPoliciesMap().put("alertBolt1", new ArrayList<PolicyDefinition>(Arrays.asList(pd))); spec.addPublishPartition("testAlertStream", "policy1", "testAlertPublish", null); bolt.onAlertBoltSpecChange(spec, sds);