/spring-batch-and-integration-demo

Showcases Spring Integration and Spring Batch integration using Spring Boot

Primary LanguageJava

Sample Spring Batch + Spring Integration app

A simple Spring Boot app to showcase a basic integration between Spring Integration and Spring Batch.

The app parses a CSV file (see sample-data folder) and emit a Kafka message for each line in the file

Requirements

  • Java 17
  • The app expects a Kafka cluster to run on port 29092 (see provided Docker Compose file to spin a Kafka instance).

How to use

Start the app (./mvnw spring-boot:run) and paste the file in sample-data folder in the data/inbound folder.