mirror of https://github.com/apache/kafka.git
HOTFIX: correct sourceNodes for kstream.through()
guozhangwang Author: Yasuhiro Matsuda <yasuhiro@confluent.io> Reviewers: Guozhang Wang Closes #374 from ymatsuda/fix_through_operator
This commit is contained in:
parent
0b05d3b939
commit
13c3e049fb
|
@ -178,7 +178,7 @@ public class KStreamImpl<K, V> implements KStream<K, V> {
|
|||
|
||||
topology.addSource(sourceName, keyDeserializer, valDeserializer, topic);
|
||||
|
||||
return new KStreamImpl<>(topology, sourceName, Collections.<String>emptySet());
|
||||
return new KStreamImpl<>(topology, sourceName, Collections.singleton(sourceName));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue