private Map<String, Object> clientProps(final Set<String> configNames,
                                            final Map<String, Object> originals) {
        // iterate all client config names, filter out non-client configs from the original
        // property map and use the overridden values when they are not specified by users
        final Map<String, Object> parsed = new HashMap<>();
        for (final String configName: configNames) {
            if (originals.containsKey(configName)) {
                parsed.put(configName, originals.get(configName));
            }
        }

        return parsed;
    }
Override any client properties in the original configs with overrides

@param configNames The given set of configuration names.
@param originals   The original configs to be filtered.
@return client config with any overrides
streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java