{"id":22107000,"url":"https://github.com/ztrzaska/spring-batch-file-handler","last_synced_at":"2026-05-04T02:39:49.304Z","repository":{"id":183932524,"uuid":"325989900","full_name":"ztrzaska/spring-batch-file-handler","owner":"ztrzaska","description":"Spring batch sequence job implementation","archived":false,"fork":false,"pushed_at":"2022-09-15T14:43:21.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T03:17:11.359Z","etag":null,"topics":["spring-batch","spring-batch-jobs","spring-boot"],"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/ztrzaska.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}},"created_at":"2021-01-01T14:02:13.000Z","updated_at":"2023-02-07T16:46:07.000Z","dependencies_parsed_at":"2023-07-26T12:44:05.036Z","dependency_job_id":null,"html_url":"https://github.com/ztrzaska/spring-batch-file-handler","commit_stats":null,"previous_names":["ztrzaska/spring-batch-file-handler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ztrzaska/spring-batch-file-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fspring-batch-file-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fspring-batch-file-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fspring-batch-file-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fspring-batch-file-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ztrzaska","download_url":"https://codeload.github.com/ztrzaska/spring-batch-file-handler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fspring-batch-file-handler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32592720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["spring-batch","spring-batch-jobs","spring-boot"],"created_at":"2024-12-01T08:13:39.617Z","updated_at":"2026-05-04T02:39:49.266Z","avatar_url":"https://github.com/ztrzaska.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring batch sequence job implementation\n\n### Getting Started\nPerforming sequence of tasks with spring batch. Jobs are rely on loading csv files and can be started by rest endpoint.\n\n### Configuring sequence of jobs\n\n```\nTaskletStep step1 =\n        stepBuilderFactory.get(\"ETL-file-read1\").\u003cUser, User\u003echunk(100)\n                .reader(userItemReader1)\n                .processor(userItemProcessor)\n                .writer(userItemWriter)\n                .listener(decider)\n                .build();\n\nTaskletStep step2 =\n        stepBuilderFactory.get(\"ETL-file-read2\").\u003cUser, User\u003echunk(100)\n                .reader(userItemReader2)\n                .processor(userItemProcessor)\n                .writer(userItemWriter)\n                .listener(decider)\n                .build();\n\nreturn jobBuilderFactory.get(\"ETL-job\").incrementer(new RunIdIncrementer())\n        .start(step1)\n        .next(decider).on(BatchStatus.FAILED.name()).end()\n        .from(decider).on(BatchStatus.COMPLETED.name()).to(step2)\n        .end()\n        .build();\n```\n\n\n\n### Reference Documentation\nFor further reference, please consider the following sections:\n\n* [Spring batch documentation](https://docs.spring.io/spring-batch/docs/current/reference/html/)\n* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.7.0/maven-plugin/reference/html/)\n* [Spring Data JPA](https://docs.spring.io/spring-boot/docs/2.7.0/reference/htmlsingle/#data.sql.jpa-and-spring-data)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztrzaska%2Fspring-batch-file-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztrzaska%2Fspring-batch-file-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztrzaska%2Fspring-batch-file-handler/lists"}