@Override
        public boolean shouldRedactConfig(ConfigResource.Type type, String key) {
            return configSchema.isSensitive(type, key);
        }
Returns true if a configuration should be redacted.

@param type      The configuration type.
@param key       The configuration key.

@return          True if the configuration should be redacted.
metadata/src/main/java/org/apache/kafka/image/node/printer/MetadataNodeRedactionCriteria.java