0

If a have a source app(named A-Source) which has multiple channels to emit messages, eg. channelA.destination=b-topic, channelB.destination=c-topic. The receiver for b-topic is B-Sink, for c-topic is C-Sink. How can i construct my stream, describe them like: A|B and A|C? And if so, i think just part of my A-Source code is useful in every stream.

So my question is: how SCDF stream DSL deal with multiple tap for single source app.

zjunothing
  • 61
  • 3

1 Answers1

0

You can use named channel destinations in the Stream DSL.

For example:

dataflow:>stream create tap1 --definition ":b-topic > B-SInk" dataflow:>stream create tap2 --definition ":c-topic > C-SInk"

Ilayaperumal Gopinathan
  • 4,099
  • 1
  • 13
  • 12