spring batch vs quartz jobs?

后端 未结 4 1837
有刺的猬
有刺的猬 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:21

    There is answer for this question in official FAQ

    How does Spring Batch differ from Quartz?

    Is there a place for them both in a solution? Spring Batch and Quartz have different goals. Spring Batch provides functionality for processing large volumes of data and Quartz provides functionality for scheduling tasks. So Quartz could complement Spring Batch, but are not excluding technologies. A common combination would be to use Quartz as a trigger for a Spring Batch job using a Cron expression and the Spring Core convenience SchedulerFactoryBean.

提交回复
热议问题