@Override
            public BiConsumer<M, Map.Entry<K, V>> accumulator() {
                return (map, entry) -> map.put(entry.getKey(), entry.getValue());
            }
A Collector that offers two kinds of convenience:
1. You can specify the concrete type of the returned Map
2. You can turn a stream of Entries directly into a Map without having to mess with a key function
   and a value function. In particular, this is handy if all you need to do is apply a filter to a Map's entries.


One thing to be wary of: These types are too "distant" for IDE type checkers to warn you if you
try to do something like build a TreeMap of non-Comparable elements. You'd get a runtime exception for that.

@param mapSupplier The constructor for your concrete map type.
@param <K> The Map key type
@param <V> The Map value type
@param <M> The type of the Map itself.
@return new Collector<Map.Entry<K, V>, M, M>
clients/src/main/java/org/apache/kafka/common/utils/Utils.java