Skip to content

Quick start template for batch pipelines built with spring batch and orchestrated (optionally) with spring cloud dataflow

License

Notifications You must be signed in to change notification settings

snimmagadda1/spring-batch-rapid-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to spring-batch-rapid-starter 👋

Version License: MIT

A template for quickly building highly configurable spring batch based jobs

Usage

I've noticed an abundance of xml-based starters/examples but fewer class-based jobs. This is an opinionated collection of patterns that I've found handy.

Packages

The starter is divided into the following packages:

packages

How does the starter work?

com.batch.Application is the main class of the application, as in a normal spring boot app.

Configuration classes for necessary batch components are scanned via Spring accordingly/

com.batch.config.* contains classes that configure jobs,steps and tasks:

  • db contains datasource configuration. This could be a JDBC connection, MongoDB, etc
  • readers contains configuration and custom reader instantiations
  • writers contains configuration and custom writer instantiations
  • batch configures the overall batch processing job

com.batch.custom contains custom reader/writer impls

com.batch.model contains model classes

com.batch.processor contains processor implementations

com.batch.notification contains custom listeners

Run tests

The starter comes with a basic integration test that will run the sample job. This should be tailored to your specific use case.

mvn test

Author

👤 Sai Nimmagadda

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Sai Nimmagadda.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

About

Quick start template for batch pipelines built with spring batch and orchestrated (optionally) with spring cloud dataflow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published