Use Spring-Batch without stress

Use Spring-Batch without stress

application.yml settings

spring:
  main:
    banner-mode: off
  batch:
    initilization-schema: never

Annotation settings

--spring-batch tries to save the state of the job, but I don't need such a function. --Refer to here and prevent the data source itself from being created -How to use In-Memory Job repository in Spring Batch

@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})

reference

-How to use In-Memory Job repository in Spring Batch

Recommended Posts

Use Spring-Batch without stress
Try to use docker command without sudo.