When reading this documentation, it seems that we can write a microservice with @EnableTask
that has a source whose emitted messages are recorded as an execution step by spring-cloud-task
.
I would like to have several clarifications about this statement in order to achieve this without spring-cloud-dataflow
:
- Does it mean that if we have a
Source
bean with anInboundChannelAdapter
, we don't need to declare aCommandLineRunner
? - By definition a task is expected to emit data one time, how to reproduce this behavior with a
Source
polled on a regular interval? - I tried to mix inside a
spring-boot
application some configurations with@EnableTask
and aAggregateApplicationBuilder
to directly connect mySource
to aSink
without the need to leverageKafka
orRabbitMQ
, but it seemsspring-cloud-task
requires a binder. Is there a way to skip it?
Thanks