Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

KStream<K, V> merge(Collection<KStream<K, V>> streams);
KStream<K, V> merge(Collection<K, V> streams, Named named);

Two static methods will also be added to KStream:

static <K, V> KStream<K, V> merged(Collection<KStream<K, V>> streams);
static <K, V> KStream<K, V> merged(Collection<KStream<K, V>> streams, Named named);

These are utility methods for merging a collection of KStreams when the user doesn't already have a KStream to invoke merge upon.

Proposed Changes

KStream will be updated with the above API, and KStreamImpl will have its implementation updated to match.

...