spring-cloud-dataflow icon indicating copy to clipboard operation
spring-cloud-dataflow copied to clipboard

As stream creator I want to be able use multiple sources and sinks in the same stream definition.

Open mbhuie opened this issue 9 years ago • 2 comments

As stream creator I want to be able use multiple sources and sinks in the same stream definition.

e.g. get http data and tcp data; split it and then write to hdfs and send to ftp at the same time.

Currently I have to specify like this

MyStream1=http > :inboundTopic
MyStream2=tcp > :inboundTopic
MyStream3=:inboundTopic > splitter > :outboundTopic
MyStream4=:outboundTopic > hdfs
MyStream5=:outboundTopic > ftp

But looking for something like:

MyStream=http && ftp > :inboundTopic > splitter > :outboundTopic > hdfs && ftp or simply MyStream=http && ftp | splitter | hdfs && ftp

This will drastically reduce the number of stream definitions one needs to maintain.

mbhuie avatar Sep 18 '17 17:09 mbhuie

We are exploring a few improvements to the DSL and parser.

For the following stream,

mystream = (foo, bar, baz) | processor | sink

The system would automatically create,

mystream = :xxx > processor | sink
otherstream1 = foo > :xxx
otherstream2 = bar > :xxx
otherstream3 = baz > :xxx

A similar could be possible in the sink position, too.

Please let us know what you think.

sabbyanandan avatar Aug 08 '18 17:08 sabbyanandan

Please have a look at "Streaming Application DSL" for more details.

Closing this due to no activity.

sabbyanandan avatar Oct 30 '18 20:10 sabbyanandan