dbustosp
dbustosp

Reputation: 4458

Passing data between tasks in a Spring Cloud Composed Task

I have been working with Spring Cloud DataFlow and I have created my Composed Task which involves 3 Tasks.

My question is: Is possible to share information between those tasks? What would be a good pattern to do this?

I know that Spring Dataflow executes composed tasks as Spring Batch Jobs, so I was thinking that might be feasible share information using the Context.

Upvotes: 1

Views: 455

Answers (1)

Sabby Anandan
Sabby Anandan

Reputation: 5651

As responded in the other thread, we don't provide out-of-the-box opinions because of the said reason.

However, if you have a requirement for it, you could use a shared database or a pub/sub broker for sharing information.

Upvotes: 1

Related Questions