public Consumed<K, V> withTimestampExtractor(final TimestampExtractor timestampExtractor) {
        return new Consumed<K, V>(keySerde, valueSerde, timestampExtractor, resetPolicy, processorName);
    }
Configure the 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

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