quarkus-batch
Installation
SKILL.md
Quarkus Batch — Jakarta Batch (JBeret)
Overview
Expert guidance for batch processing in Quarkus 3.36.0 using the Jakarta Batch specification, implemented by JBeret. Provides chunk-oriented (read-process-write) and tasklet-style (batchlet) processing with CDI integration, checkpointing, partitioning, and job management via JobOperator.
Key Capabilities:
- Job definitions via XML (
src/main/resources/META-INF/batch-jobs/*.xml) or programmatic API - Chunk-oriented steps:
ItemReader→ItemProcessor→ItemWriterwith configurable commit intervals - Batchlet steps for single-task operations (file moves, SQL procedures, etc.)
- Checkpoint / restart: jobs resume from the last checkpoint on failure
- Job parameters passed at launch time
- Partition:
PartitionMapper+PartitionReducerfor parallel processing across partitions JobOperatorAPI to start, stop, restart, and query jobs@Named+@Dependentfor CDI-managed batch artifacts- Integration with
@Scheduledfor cron-triggered batch jobs @QuarkusTest+JobOperatorfor integration testing