I've deployed spring-cloud-dataflow with Docker. These are the used containers:
[other containers not involved in the issue ...]
Documentation consulted:
https://docs.spring.io/spring-cloud-dataflow/docs/1.7.0.RELEASE/reference/htmlsingle/
I am trying to create a stream in which i need to store the payload to use it later.
http | groovy-transform | httpclient_get: httpclient | httpclient_post: httpclient | log
There is some way to solve this need?
It's not clear from your generic description what the best approach would be. A couple of options:
Fan out to the get and post
http | groovy-transform > :request
:request > httpclient-get |log
:request > httpclient-post|log
The streams can be joined:
http | groovy-transform > :request
:request > httpclient-get > :response
:request > httpclient-post > :response
:response > log
Note if you are using the kafka binder with kafka < 0.11 client, you need to explicitly enable custom headers: For example:
stream create hetest --definition "time | header-enricher --headers=foo='bar' | log --expression=headers"
stream deploy hetest --properties "app.*.spring.cloud.stream.kafka.binder.headers=foo"