Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Spring Batch Job Task

This is a Spring Cloud Task application that executes a single Spring Batch Job.

Requirements:

  • Java 17 or Above

Classes:

  • BatchJobApplication - the Spring Boot Main Application

  • JobConfiguration - the configuration for the Spring Batch jobs

Build:

mvn clean package

Run:

java -jar target/batch-job-5.0.0.jar

Native Build:

mvn -Pnative native:compile

Native Run:

./target/batch-job

Run the application with a Postgesql test container

./mvnw spring-boot:test-run