public Map<String, Object> originalsWithPrefix(String prefix, boolean strip) {
        Map<String, Object> result = new RecordingMap<>(prefix, false);
        result.putAll(Utils.entriesWithPrefix(originals, prefix, strip));
        return result;
    }
Gets all original settings with the given prefix.

@param prefix the prefix to use as a filter
@param strip  strip the prefix before adding to the output if set true
@return a Map containing the settings with the prefix
clients/src/main/java/org/apache/kafka/common/config/AbstractConfig.java