public NewTopicBuilder config(Map<String, Object> configs) {
            if (configs != null) {
                for (Map.Entry<String, Object> entry : configs.entrySet()) {
                    Object value = entry.getValue();
                    this.configs.put(entry.getKey(), value != null ? value.toString() : null);
                }
            } else {
                this.configs.clear();
            }
            return this;
        }
Specify the configuration properties for the topic, overwriting any previously-set properties.

@param configs the desired topic configuration properties, or null if all existing properties should be cleared
@return this builder to allow methods to be chained; never null
connect/runtime/src/main/java/org/apache/kafka/connect/util/TopicAdmin.java