private static LinkedHashSet<String> getTags(String... keys) {
        LinkedHashSet<String> tags = new LinkedHashSet<>();

        Collections.addAll(tags, keys);

        return tags;
    }
Create a new template. Note that the order of the tags will be preserved.

@param name the name of the metric; may not be null
@param group the name of the group; may not be null
@param description the description of the metric; may not be null
@param tagsNames the names of the metric tags in the preferred order; none of the tag names should be null
clients/src/main/java/org/apache/kafka/common/MetricNameTemplate.java