{"id":20397790,"url":"https://github.com/woosungkim0123/batch-issue-demo","last_synced_at":"2026-05-10T10:39:33.089Z","repository":{"id":212969296,"uuid":"732720899","full_name":"woosungkim0123/batch-issue-demo","owner":"woosungkim0123","description":"Spring batch v5.1에서 발생하는 문제에 대해 이슈 제기를 위해 재현한 demo","archived":false,"fork":false,"pushed_at":"2024-05-20T06:49:32.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T11:12:36.598Z","etag":null,"topics":["bug","issue","spring-batch"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/woosungkim0123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-17T16:09:31.000Z","updated_at":"2024-05-20T06:58:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"d28db683-0455-4a4e-afa2-a14425c17d7e","html_url":"https://github.com/woosungkim0123/batch-issue-demo","commit_stats":null,"previous_names":["woosungkim0123/batch-issue-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosungkim0123%2Fbatch-issue-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosungkim0123%2Fbatch-issue-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosungkim0123%2Fbatch-issue-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woosungkim0123%2Fbatch-issue-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woosungkim0123","download_url":"https://codeload.github.com/woosungkim0123/batch-issue-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241945526,"owners_count":20046869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bug","issue","spring-batch"],"created_at":"2024-11-15T04:16:46.331Z","updated_at":"2026-05-10T10:39:33.039Z","avatar_url":"https://github.com/woosungkim0123.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Batch Warning\n\n## 링크\n\n\u003ca href=\"https://github.com/spring-projects/spring-batch/issues/4519\" target=\"_blank\"\u003e\u003cstrong\u003eSpring Batch Issue#4519\u003c/strong\u003e\u003c/a\u003e\n\n\u003cbr\u003e\n\n\u003ca href=\"https://github.com/spring-projects/spring-batch/releases/tag/v5.1.1\" target=\"_blank\"\u003e\u003cstrong\u003eSpring Batch v5.1.1 릴리즈 노트\u003c/strong\u003e\u003c/a\u003e\n\n5.2 버전에서 수정될 예정이고 현재 5.1.1 버전에서는 JobRegistrySmartInitializingSingleton을 사용하여 이 문제를 해결할 수 있는 대체 방법을 제공하는 것으로 확인되었습니다.\n\n\u003cbr\u003e\n\n\u003ca href=\"https://woosungkim0123.github.io/2023_12_17_boot3_2_batch_warn/\" target=\"_blank\"\u003e\u003cstrong\u003eSpring Boot 3.2에서의 Batch 처리 시 BeanPostProcessorChecker 경고 (블로그 포스트)\u003c/strong\u003e\u003c/a\u003e\n\n## 문제\n\nSpring Boot 3.2.0 버전에서 Spring Batch version: 5.1 사용시, 많은 경고 로그가 발생하는 것을 확인했습니다.\n\n![경고 문구](https://woosungkim0123.github.io/static/ef3032a3928b3048925f65c45b6b6a4a/c7675/boot_3_2_warn_1.webp)\n\n## 추측\n\n문제는 Spring Boot 3.2.0에서 변경된 내부 빈 초기화 메커니즘이 원인일 것 같습니다. 배치, 데이터 소스, 트랜잭션 관련 빈들이 메인 클래스보다 먼저 초기화되고 있으며, 이로 인해 이들 빈들 간의 의존성 관리와 초기화 순서에 문제가 발생하고 있는 것 같습니다.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoosungkim0123%2Fbatch-issue-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoosungkim0123%2Fbatch-issue-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoosungkim0123%2Fbatch-issue-demo/lists"}