Skip to content

Commit

Permalink
mod: batch config 매핑클래스 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Song-EunJu committed Nov 17, 2022
1 parent 2d45984 commit d09af05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Job csvFileItemReaderJob() {
@Bean
public Step csvFileItemReaderStep() {
return stepBuilderFactory.get("csvFileItemReaderStep")
.<String, Test>chunk(chunkSize)
.<String, Oreum>chunk(chunkSize)
// Reader 에서 읽어올 타입 - String, Writer에 넘겨줄 타입이 Oreum
.reader(csvReader.csvFileItemReader()) // 일단 csv에서 String 읽기
.processor(csvProcessor()) // String을 가공
Expand Down

0 comments on commit d09af05

Please sign in to comment.