An open API service indexing awesome lists of open source software.

https://github.com/woosungkim0123/batch-issue-demo

Spring batch v5.1에서 발생하는 문제에 대해 이슈 제기를 위해 재현한 demo
https://github.com/woosungkim0123/batch-issue-demo

bug issue spring-batch

Last synced: about 1 year ago
JSON representation

Spring batch v5.1에서 발생하는 문제에 대해 이슈 제기를 위해 재현한 demo

Awesome Lists containing this project

README

          

# Batch Warning

## 링크

Spring Batch Issue#4519


Spring Batch v5.1.1 릴리즈 노트

5.2 버전에서 수정될 예정이고 현재 5.1.1 버전에서는 JobRegistrySmartInitializingSingleton을 사용하여 이 문제를 해결할 수 있는 대체 방법을 제공하는 것으로 확인되었습니다.


Spring Boot 3.2에서의 Batch 처리 시 BeanPostProcessorChecker 경고 (블로그 포스트)

## 문제

Spring Boot 3.2.0 버전에서 Spring Batch version: 5.1 사용시, 많은 경고 로그가 발생하는 것을 확인했습니다.

![경고 문구](https://woosungkim0123.github.io/static/ef3032a3928b3048925f65c45b6b6a4a/c7675/boot_3_2_warn_1.webp)

## 추측

문제는 Spring Boot 3.2.0에서 변경된 내부 빈 초기화 메커니즘이 원인일 것 같습니다. 배치, 데이터 소스, 트랜잭션 관련 빈들이 메인 클래스보다 먼저 초기화되고 있으며, 이로 인해 이들 빈들 간의 의존성 관리와 초기화 순서에 문제가 발생하고 있는 것 같습니다.