Spring Batch: org.springframework.batch.item.ReaderNotOpenException: Reader must be open before it can be read

前端 未结 7 1173
独厮守ぢ
独厮守ぢ 2020-12-15 05:24

I read SO related questions but the solutions don\'t work for me.

I get the org.springframework.batch.item.ReaderNotOpenException: Reader must be open before i

7条回答
  •  旧巷少年郎
    2020-12-15 05:28

    I think you should increase your chunk size in processPlayerStats() step bean class, i.e from chunk(10) to chunk(100/more may be).

提交回复
热议问题