Seperate datasource for jobrepository and writer of Spring Batch

一世执手 提交于 2019-12-01 23:46:23

You only need XA transaction when SB metadata tables are stored in a different database than the one using for data writing because checkpoint (data and SB metadata) must be stored at the same time to take care of synchronization and restartability.
Reading can be done from a different datasource without problems because reading is unrelated respect to where SB metadata are saved.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!