public static <V> Map<String, V> entriesWithPrefix(Map<String, V> map, String prefix) {
        return entriesWithPrefix(map, prefix, true);
    }
Find all key/value pairs whose keys begin with the given prefix, and remove that prefix from all
resulting keys.
@param map the map to filter key/value pairs from
@param prefix the prefix to search keys for
@return a {@link Map} containing a key/value pair for every key/value pair in the {@code map}
parameter whose key begins with the given {@code prefix} and whose corresponding keys have
the prefix stripped from them; may be empty, but never null
@param <V> the type of values stored in the map
clients/src/main/java/org/apache/kafka/common/utils/Utils.java