groupSize,
consumerConfig.getDequeueStrategy(),
consumerConfig.getHashKey());
}
if (queueName.isQueue()) {
QueueConsumer queueConsumer = dataFabricFacade.createConsumer(queueName, config, numGroups);
consumerConfig = queueConsumer.getConfig();
consumer = queueConsumer;
} else {
StreamConsumer streamConsumer = dataFabricFacade.createStreamConsumer(queueName, config);
consumerConfig = streamConsumer.getConsumerConfig();
consumer = streamConsumer;