try {
String tableName = namespace.toLowerCase() + "." + cConf.get(MetricsConstants.ConfigKeys.KAFKA_META_TABLE,
MetricsConstants.DEFAULT_KAFKA_META_TABLE);
MetricsTable table = getOrCreateMetricsTable(tableName, DatasetProperties.EMPTY);
LOG.info("KafkaConsumerMetaTable created: {}", tableName);
return new KafkaConsumerMetaTable(table);
} catch (Exception e) {
LOG.error("Exception in creating KafkaConsumerMetaTable.", e);
throw Throwables.propagate(e);
}
}