Welcome to Easy Batch tutorials
Introduction
Tutorials are organised in 3 levels (Basic, Intermediate and Advanced).
Each tutorial is contained in a separate package containing a README.md
file that describes the tutorial and how to run it.
The org.easybatch.tutorials.common
package contains classes that are common to all tutorials.
All examples use tweets data. Tweets are represented by the org.easybatch.tutorials.common.Tweet
bean.
If you are looking for previous versions, please refer to the releases page.
Quick start
#️⃣ Build | |||
---|---|---|---|
Java 7+ && maven 3+ | Get source code | $>mvn install |
$>mvn exec:java -P run[tutorial name] |
💡 The src/main/resources/logging.properties
can be used to show detailed logs and help you better understand how jobs work
Tutorials index
Hello world | basic | ||
Word Count | basic | ||
Transforming data from one format to another | intermediate | ||
Populating a search database | intermediate | 5️⃣ minutes read | |
Importing data from a flat file into a database | intermediate | ||
Exporting data from a database to a flat file | intermediate | ||
Monitoring jobs with JMX | advanced | 5️⃣ minutes read | |
Scheduling jobs with Quartz | advanced | 5️⃣ minutes read | |
Configuring jobs with Spring | advanced | ||
Writing a custom listener to contribute custom metrics | advanced | ||
Writing a custom listener to restart a failed job | advanced | ||
Writing a custom reader to support multi-line records | advanced | 🔟 minutes read | |
Processing data in parallel with multiple worker jobs | advanced | 🔟 minutes read | |
Processing data asynchronously using a JMS queue | advanced | ||
Processing files in parallel based on their content | advanced |