public static <K, V> Consumed<K, V> with(final TimestampExtractor timestampExtractor) {
        return new Consumed<>(null, null, timestampExtractor, null, null);
    }
Create an instance of {@link Consumed} with a {@link TimestampExtractor}.

@param timestampExtractor
       the timestamp extractor to used. If {@code null} the default timestamp extractor from config will be used

@param <K> key type
@param <V> value type

@return a new instance of {@link Consumed}
streams/src/main/java/org/apache/kafka/streams/kstream/Consumed.java