try {
conf =
(SinkGroupConfiguration) ComponentConfigurationFactory.create(
sinkgroupName, "sinkgroup", ComponentType.SINKGROUP);
conf.configure(context);
Set<String> groupSinks = validGroupSinks(sinkSet, usedSinks, conf);
if (conf != null) errorList.addAll(conf.getErrors());
if (groupSinks != null && !groupSinks.isEmpty()) {
List<String> sinkArray = new ArrayList<String>();
for (String sink : groupSinks) {