*/
public static Multimap<String, QueueName> configureQueue(Program program, FlowSpecification flowSpec,
QueueAdmin queueAdmin) {
// Generate all queues specifications
Table<QueueSpecificationGenerator.Node, String, Set<QueueSpecification>> queueSpecs
= new SimpleQueueSpecificationGenerator().create(flowSpec);
// For each queue in the flow, gather a map of consumer groupId to number of instances
Table<QueueName, Long, Integer> queueConfigs = HashBasedTable.create();
// For storing result from flowletId to queue.