public String toHtml(int headerDepth, Function<String, String> idGenerator) {
        return toHtml(headerDepth, idGenerator, Collections.emptyMap());
    }
Converts this config into an HTML list that can be embedded into docs.
@param headerDepth The top level header depth in the generated HTML.
@param idGenerator A function for computing the HTML id attribute in the generated HTML from a given config name.
clients/src/main/java/org/apache/kafka/common/config/ConfigDef.java