public static String topicPartitionKey(String topic, int partition) {
        return topic + "-" + partition;
    }
Check if tags are valid for a topic-partition metric

@param tags metric tags
@return true if valid, false otherwise
core/src/main/java/kafka/autobalancer/metricsreporter/metric/MetricsUtils.java