I've created a Spring Batch application which reads data from file and write to database. I want to write output data into Kafka. I've tried to use Spring Cloud Data Flow but could not even run it.
I've followed that tutorial: https://spring.io/guides/gs/batch-processing/
when I register it to Spring Cloud Data Flow it gives a status as N/A. I've checked that tutorial: http://www.baeldung.com/spring-cloud-data-flow-batch-processing and added @EnableTask
to my application class but result is same.
My question is: I want to write data to Kafka and use that Spring Batch job at Spring Cloud Data Flow. How can I do that?