public static <K, V> Produced<K, V> with(final Serde<K> keySerde,
                                             final Serde<V> valueSerde,
                                             final StreamPartitioner<? super K, ? super V> partitioner) {
        return new Produced<>(keySerde, valueSerde, partitioner, null);
    }
Create a Produced instance with provided keySerde, valueSerde, and partitioner.
@param keySerde      Serde to use for serializing the key
@param valueSerde    Serde to use for serializing the value
@param partitioner   the function used to determine how records are distributed among partitions of the topic,
                     if not specified and {@code keySerde} provides a {@link WindowedSerializer} for the key
                     {@link WindowedStreamPartitioner} will be used&mdash;otherwise {@link DefaultStreamPartitioner}
                     will be used
@param <K>           key type
@param <V>           value type
@return  A new {@link Produced} instance configured with keySerde, valueSerde, and partitioner
@see KStream#to(String, Produced)
streams/src/main/java/org/apache/kafka/streams/kstream/Produced.java