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.
ℹ️ Prerequisites | ⬇️ Download | #️⃣ 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
📜 Tutorial | ⭐ Level | 🕘 Duration | 🔗 Link |
---|---|---|---|
Hello world | basic | 2️⃣ minutes read | |
Word Count | basic | 2️⃣ minutes read | |
Transforming data from one format to another | intermediate | 5️⃣ minutes read | |
Populating a search database | intermediate | 5️⃣ minutes read | |
Importing data from a flat file into a database | intermediate | 5️⃣ minutes read | |
Exporting data from a database to a flat file | intermediate | 5️⃣ minutes read | |
Monitoring jobs with JMX | advanced | 5️⃣ minutes read | |
Scheduling jobs with Quartz | advanced | 5️⃣ minutes read | |
Configuring jobs with Spring | advanced | 5️⃣ minutes read | |
Writing a custom listener to contribute custom metrics | advanced | 🔟 minutes read | |
Writing a custom listener to restart a failed job | advanced | 🔟 minutes read | |
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 | 🔟 minutes read | |
Processing files in parallel based on their content | advanced | 🔟 minutes read |