Skip to content

Commit

Permalink
Add new scenario for batch-reset-empty files
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Oct 2, 2024
1 parent b530dde commit 2f84a95
Show file tree
Hide file tree
Showing 6 changed files with 1,274 additions and 0 deletions.
8 changes: 8 additions & 0 deletions batchResetEmptyFiles/batchResetEmptyFile.flux
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"https://raw.githubusercontent.com/metafacture/metafacture-core/master/metafacture-runner/src/main/dist/examples/read/marc21/10.marc21"
| open-http
| as-lines
| decode-marc21
| batch-reset(batchsize="5")
| encode-marcxml
| write(FLUX_DIR + "output/test-output-${i}.xml")
;
Loading

0 comments on commit 2f84a95

Please sign in to comment.