public Repartitioned<K, V> withNumberOfPartitions(final int numberOfPartitions) {
        return new Repartitioned<>(name, keySerde, valueSerde, numberOfPartitions, partitioner);
    }
Create a new instance of {@code Repartitioned} with the provided number of partitions for repartition topic.

@param numberOfPartitions the name used for the processor name and as part of the repartition topic name
@return a new {@code Repartitioned} instance configured with the number of partitions
streams/src/main/java/org/apache/kafka/streams/kstream/Repartitioned.java