| package๋ช
|
์ ๋ชฉ |
URL |
| โ_01_์ฒ์_์์ฑํด๋ณด๋_์ก |
1. Hello Spring Batch! |
https://devfunny.tistory.com/754 |
| โ_02_DB์ฐ๋ |
2. ApplicationRunner ๊ตฌํ ํด๋์ค๋ก Job ์ํ์ํค๊ธฐ |
https://devfunny.tistory.com/755 |
| โ_03_simpleJobBuilder |
SpringBatch์ SimpleJob ์ํ๊ณผ์ ์ ์์ ์ฝ๋ ๋๋ฒ๊น
์ผ๋ก ๋ถ์ํ๊ธฐ |
https://devfunny.tistory.com/932 |
| โ_04_jobInstance |
- |
- |
| โ_05_job_์๋์คํ |
- |
- |
| โ_06_jobParameter |
2. ApplicationRunner ๊ตฌํ ํด๋์ค๋ก Job ์ํ์ํค๊ธฐ |
https://devfunny.tistory.com/755 |
| โ_07_jobExecution |
3. Batch Job ์ํ์ Step ์คํจํ๋ ๊ฒฝ์ฐ |
https://devfunny.tistory.com/758 |
| โ_08_step |
4. Tasklet ํด๋์ค๋ฅผ ์์ฑํ์ฌ Job์ ์ค์ ํ๊ธฐ |
https://devfunny.tistory.com/759 |
| โ_09_stepExecution |
5. Batch Job ์ํ์ Step ์คํจํ๋ ๊ฒฝ์ฐ2 (Step ์คํจ์ StepExceution ๊ด๊ณ) |
https://devfunny.tistory.com/765 |
| โ_10_stepContribution |
- |
- |
| โ_11_executionContext |
6. ExecutionContext (StepExecution, JobExecution ๊ด๊ณ) ์์ ๋ก ํ๋ฆ ํ์
ํ๊ธฐ |
https://devfunny.tistory.com/769 |
| โ_12_jobRepository |
7. BATCH ํ
์ด๋ธ Prefix ๋ณ๊ฒฝํด๋ณด๊ธฐ |
https://devfunny.tistory.com/774 |
| โ_12_jobRepository |
8. JobRepository ๋ฅผ ์ฌ์ฉํ์ฌ ํน์ JobName, JobParameters ์ ํด๋นํ๋ ์ต์ ์ ์ํ๋ Job ์ ๋ณด ๊ฐ์ ธ์ค๊ธฐ |
https://devfunny.tistory.com/769 |
| โ_13_jobLauncher |
(๊ธฐ์กด ํฌ์คํ
) SpringBatch์์ JobLauncher ๋๊ธฐ/๋น๋๊ธฐ ์คํ |
https://devfunny.tistory.com/688 |
| โ_14_batch_์ด๊ธฐํ |
9. FlowBuilder๋ฅผ ์ฌ์ฉํด์ FlowJob ์์ฑํ๊ธฐ |
https://devfunny.tistory.com/776 |
| โ_15_flowJob_์คํํด๋ณด๊ธฐ |
- |
- |
| โ_16_STEP_์ข
๋ฃ์ฝ๋ |
10. STEP์ EXIT_CODE, STATUS ์ค์ ํ๊ธฐ |
https://devfunny.tistory.com/778 |
| โ_17_stepNext |
- |
- |
| โ_18_validator |
11. JobParameters ๊ฒ์ฆ CustomValidator ๋ง๋ค๊ธฐ (JobParametersValidator ๊ตฌํ), ์คํ๋ง ๋ฐฐ์น๊ฐ ์ ๊ณตํด์ฃผ๋ DefaultJobParametersValidator ์ฌ์ฉํด๋ณด๊ธฐ |
https://devfunny.tistory.com/779 |
| โ_19_preventRestart- |
12. preventRestart() ์ง์ ์ ๋ฐ๋ฅธ ์ํ ๊ณผ์ ํ์
ํ๊ธฐ |
https://devfunny.tistory.com/786 |
| โ_20_incrementer |
13. incrementer ์ค์ ํ๊ธฐ, JobParametersIncrementer ๋ฅผ ๊ตฌํํ์ฌ ์ปค์คํ
์ค์ ํ๊ธฐ |
https://devfunny.tistory.com/790 |
| โ_21_simpleJob_์ํคํ
์ฒ |
- |
- |
| โ_22_StepBuilder |
- |
- |
| โ_23_taskletStep._tasklet_์ฌ๋ฌ๊ฐ |
14. ์ฌ๋ฌ๊ฐ Tasklet์ ์ ์ธํ ๊ฒฝ์ฐ, ๋ง์ง๋ง Tasklet์ ์คํํ๋ค |
https://devfunny.tistory.com/792 |
| โ_24_limit_allow |
15. STEP์ด COMPELETED ์ํ๋ก ์๋ฃ๋์ด๋ ์ฌ์คํ์ ํฌํจ์ํค๊ธฐ (allowStartIfCompleted(true)), STEP๋ณ ์ฌ์คํ ๊ฐ๋ฅ ํ์ ์ค์ ํ๊ธฐ (startLimit()) |
https://devfunny.tistory.com/794 |
| โ_25_jobStep |
16. ParentJob, ChildJob ๊ด๊ณ (JobStep ์ฌ์ฉ) |
https://devfunny.tistory.com/798 |
| โ_26_TaskletStep_์ํคํ
์ฒ |
SpringBatch์ TaskletStep ์ํ๊ณผ์ ์ ์์ ์ฝ๋ ๋๋ฒ๊น
์ผ๋ก ๋ถ์ํ๊ธฐ |
https://devfunny.tistory.com/934 |
| โ_27_FlowJob |
17. JobFlowBuilder ํ๋ฆ ์ ์ดํ๊ธฐ (Step ์ฑ๊ณต/์คํจ์ ๋ฐ๋ผ ๋ถ๊ธฐ์ฒ๋ฆฌ) |
https://devfunny.tistory.com/801 |
| โ_28_stepNext_flow |
18. Job, Flow ํผ์ฉํ์ฌ Job ์ํ์ํค๊ธฐ |
https://devfunny.tistory.com/802 |
| โ_29_BatchStatus_ExitStatus |
(๊ธฐ์กด ํฌ์คํ
) BATCH_JOB_EXECUTION, BATCH_STEP_EXECUTION์ EXIT_CODE, STATUS ์ปฌ๋ผ ์
ํ
์ ๋ณด |
https://devfunny.tistory.com/698 |
| โ_30_transition |
- |
- |
| โ_31_custom_exitStatus |
19. EXIT_CODE๋ฅผ ์ง์ ๋ง๋ค์ด์ ์ ์ฉํด๋ณด๊ธฐ |
https://devfunny.tistory.com/803 |
| โ_32_decider |
20. JobExecutionDecider ๊ตฌํ์ฒด ์์ฑํด์ ์ปค์คํ
๊ฐ์ผ๋ก from().on() ์ค์ |
https://devfunny.tistory.com/805 |
| โ_33_flowJob_์ํคํ
์ฒ |
- |
- |
| โ_34_simpleFlow |
- |
- |
| โ_35_flowStep |
- |
- |
| โ_36_jobScope |
- |
- |
| โ_37_chunk |
21. Chunk ์ค์ ์ ๋ฐ๋ฅธ reader(), processor(), writer() ์ํ ๊ณผ์ |
https://devfunny.tistory.com/818 |
| โ_38_ChunkOriented |
- |
- |
| โ_39_ChunkProvider_ChunkProcessor |
- |
- |
| โ_40_item |
22. ItemReader, ItemProcessor, ItemWriter์ ๋ฉ์๋ ์ง์ ๊ตฌํํด๋ณด๊ธฐ |
https://devfunny.tistory.com/821 |
| โ_41_itemStream |
23. ItemStreamReader, ItemStreamWriter ๊ตฌํ ํด๋์ค ์์ฑํ๊ธฐ (open(), update(), close()) |
https://devfunny.tistory.com/824 |
| โ_42_async |
29. ์คํ๋ง ๋ฐฐ์น์ ๋จ์ผ ์ค๋ ๋ vs ๋ฉํฐ ์ค๋ ๋ Job ์ํํ์ฌ ๋ถ์ |
https://devfunny.tistory.com/831 |
| โ_43_multiThread |
30. ์คํ๋ง ๋ฐฐ์น MultiThread(๋ฉํฐ ์ค๋ ๋) Job ์ํํ์ฌ ๋ถ์ |
https://devfunny.tistory.com/832 |
| โ_44_parallel |
31. ์คํ๋ง ๋ฐฐ์น Parallel Steps(๋ณ๋ ฌ) ์ํํ์ฌ ๋ถ์ |
https://devfunny.tistory.com/833 |
| โ_45_partitioning |
32. ์คํ๋ง ๋ฐฐ์น Partitioning(ํํฐ์
๋) Job ์ํํ์ฌ ๋ถ์ |
https://devfunny.tistory.com/834 |
| โ_46_syncrhnizedItemReader |
33. ์คํ๋ง ๋ฐฐ์นSynchronizedItemStreamReader๋ก thread-safe ์ค์ ํ๊ธฐ |
https://devfunny.tistory.com/835 |
| โ_47_reader_FlatFiles |
24. FlatFileItemReader (.csv ํ์ผ ์ฝ์ด์์ ๋ฐ์ดํฐ ์ถ๋ ฅํ๋ ๋ฐฐ์น ์์ฑ) |
https://devfunny.tistory.com/825 |
| โ_48_reader_flatfileDelimete |
- |
- |
| โ_49_reader_flatfileFixedLength |
- |
- |
| โ_50_reader_flatExceptionHandling |
- |
- |
| โ_51_reader_xml |
25. xml ํ์ผ ์ฝ์ด์ ์ถ๋ ฅํ๋ ๋ฐฐ์น(StaxEventItemReader), josn ํ์ผ ์ฝ์ด์ ์ถ๋ ฅํ๋ ๋ฐฐ์น(JsonItemReader) ์์ฑํด๋ณด๊ธฐ |
https://devfunny.tistory.com/826 |
| โ_52_reader_json |
- |
- |
| โ_53_reader_jdbcCursor, _54_reader_jpaCursor |
26. Cursor - JdbcCursorItemReader, JpaCursorItemReader |
https://devfunny.tistory.com/827 |
| โ_54_reader_jpaCursor |
- |
- |
| โ_55_reader_jdbcPaging, _56_reader_jpaPaging |
27. Paging - JdbcPagingItemReader, JpaPagingItemReader |
https://devfunny.tistory.com/828 |
| โ_56_reader_jpaPaging |
- |
- |
| โ_57_readerAdapter |
28. ItemReaderAdapter |
https://devfunny.tistory.com/829 |
| โ_58_writer_json |
37. DB ์กฐํํ ๋ฐ์ดํฐ๋ฅผ .josn ํ์ผ๋ก ์์ฑํ๋ ๋ฐฐ์น (JsonFileItemWriter) |
https://devfunny.tistory.com/847 |
| โ_59_writer_xml |
- |
- |
| โ_60_writer_jdbcBatch |
- |
- |
| โ_61_writer_jpa |
- |
- |
| โ_62_writerAdapter |
- |
- |
| โ_63_writer_format |
- |
- |
| โ_64_writer_delimited |
- |
- |
| โ_65_processor_classifer |
- |
- |
| โ_66_processor_delegate |
36. CustomItemProcessor ์ฌ๋ฌ๊ฐ๋ฅผ ์ด์ด์ ์ํ์ํค๊ธฐ (Processor ์ฒด์ด๋) |
https://devfunny.tistory.com/843 |
| โ_67_repeat |
- |
- |
| โ_68_faultTolerant |
- |
- |
| โ_69_skip |
- |
- |
| โ_70_retry |
- |
- |
| โ_71_listener_jobAndStep |
- |
- |
| โ_72_listener_chunk_item |
- |
- |
| โ_73_listener_step |
- |
- |
| โ_74_listener_retry |
- |
- |
| โ_75_listener_skip |
- |
- |
| โ_77_operation |
35. ์คํ๋ง๋ฐฐ์นJobExplorer, JobRegistry, JobOperator ์์๋ณด๊ธฐ (With JobRegistryBeanPostProcessor) |
https://devfunny.tistory.com/837 |
| โ_78_batch_test |
34. ์คํ๋ง ๋ฐฐ์น Test ์ฝ๋ ์์ฑ |
https://devfunny.tistory.com/836 |