Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suhas-h-c/batch-processing-ms-v2
Spring batch processing with multiple datasources like mysql and h2
https://github.com/suhas-h-c/batch-processing-ms-v2
data-loading junit spring spring-batch
Last synced: 15 days ago
JSON representation
Spring batch processing with multiple datasources like mysql and h2
- Host: GitHub
- URL: https://github.com/suhas-h-c/batch-processing-ms-v2
- Owner: Suhas-H-C
- Created: 2024-09-10T06:58:49.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-10T07:05:05.000Z (4 months ago)
- Last Synced: 2024-12-19T04:08:04.337Z (15 days ago)
- Topics: data-loading, junit, spring, spring-batch
- Language: Java
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# batch-processing-ms-v2 #
Spring batch data loading *mysql(develop)* is the implementation that the project contains.## Dependencies needed ##
- Spring Batch
- Lombok
- Spring Data JPA
- mySQL connector
- Spring Batch Test## Steps to load data ##
- Build the jar file
```bash
mvn clean install
```- Execute the jar file
```bash
java -jar spring-batch-ms-0.0.1-SNAPSHOT.jar
```
## Lessons Learned ##
As of spring **3.X** we don't have to enable *@EnableBatchProcessing* or any logic to exit the main function. Everything is taken care by spring automatically.## 🚀 Authors ##
Suhas H C