public static <K, V> Materialized<K, V, KeyValueStore<Bytes, byte[]>> as(final KeyValueBytesStoreSupplier supplier) {
        Objects.requireNonNull(supplier, "supplier can't be null");
        return new Materialized<>(supplier);
    }
Materialize a {@link KeyValueStore} using the provided {@link KeyValueBytesStoreSupplier}.

@param supplier the {@link KeyValueBytesStoreSupplier} used to materialize the store
@param <K>      key type of the store
@param <V>      value type of the store
@return a new {@link Materialized} instance with the given supplier
streams/src/main/java/org/apache/kafka/streams/kstream/Materialized.java