This personal project was made in 2020 as a way to experiment with Spring Batch and Docker containerization.
It is a simple batch importing data from a CSV file “sample-data.csv” into an in-memory database.
The data comprises 1000 lines of generated data with Mockaroo with an ID, a first name, a last name, an e-mail, a gender and an IP address.
These data are imported into the database and logged in the console.
In order to run the program, you need Docker.
Skills :
- using Spring Boot to bootstrap a simple app
- using Spring Batch framework
- using Spring Data JPA for database layer
- “containerize” a batch with Docker
Click here to see the source code (maven project) and test the program…