Skip to content

Files

easy-batch-tutorials

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 14, 2021
Sep 24, 2020
Mar 14, 2021

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.jeasy.batch.tutorials.common package contains classes that are common to all tutorials. All examples use tweets data. Tweets are represented by the org.jeasy.batch.tutorials.common.Tweet bean.

Quick start

ℹ️ Prerequisites: Java 11+ && maven 3+

⬇️ Get the source code: $>git clone https://github.com/j-easy/easy-batch.git

#️⃣ Build: $>cd easy-batch && mvn install && cd easy-batch-tutorials

▶️ Run: $>mvn exec:java -P run[tutorial name]

If you want to run tutorials from your IDE, you need to import the easy-batch directory as a maven project in your IDE.

Tutorials index

📜 Tutorial ⭐ Level 🕘 Duration 🔗 Link
Hello World basic 2️⃣ minutes read ▶️ View
Word Count basic 2️⃣ minutes read ▶️ View
Transforming data from one format to another intermediate 5️⃣ minutes read ▶️ View
Importing data from a flat file into a database intermediate 5️⃣ minutes read ▶️ View
Exporting data from a database to a flat file intermediate 5️⃣ minutes read ▶️ View
Writing a dynamic header/footer to an output file intermediate 5️⃣ minutes read ▶️ View
Reading data from a REST endpoint intermediate 5️⃣ minutes read ▶️ View
Monitoring jobs with JMX advanced 5️⃣ minutes read ▶️ View
Scheduling jobs with Quartz advanced 5️⃣ minutes read ▶️ View
Configuring jobs with Spring advanced 5️⃣ minutes read ▶️ View
Writing a custom listener to contribute custom metrics advanced 🔟 minutes read ▶️ View
Writing a custom listener to restart a failed job advanced 🔟 minutes read ▶️ View
Writing a custom reader to support multi-line records advanced 🔟 minutes read ▶️ View
Skipping bad records with batch scanning on write failure advanced 🔟 minutes read ▶️ View
Processing data in parallel with multiple worker jobs advanced 🔟 minutes read ▶️ View
Processing data asynchronously using a JMS queue advanced 🔟 minutes read ▶️ View
Processing files in parallel based on their content advanced 🔟 minutes read ▶️ View