spring batch vs quartz jobs?

后端 未结 4 1825
有刺的猬
有刺的猬 2021-02-01 06:39

I am new to batch processing. I am trying to start with simple scheduler and job. But i am confused b/w spring batch vs quartz jobs. My understanding is

Quartz

4条回答
  •  生来不讨喜
    2021-02-01 07:32

    Spring Batch: reads data from a datasource (table in a database, flat file, etc), processes that data. Then stores the data in another datasource and may be in another format. I have made a tutorial in my blog on how to integrate Spring Boot 2, Spring batch and Quartz. You can integrate Spring boot and spring batch and skip the Quartz integration. Quartz is a scheduler that schedules a task in the future and it has its own metadata tables to manage the state of the jobs.

提交回复
热议问题