Order Data Pipeline
How order CSV files travel from a landing directory into PostgreSQL: detection, registration, event hand-off, orchestrated batch import, validation, reject handling and daily reporting — and what keeps each hop safe under crashes, redeliveries and retries.
1. Overview
Upstream systems drop order files (*.csv) into a shared inbox directory. The pipeline turns
each complete file into exactly one Spring Batch JobInstance, which validates every line, upserts good orders into
the orders table and records bad lines in order_rejects. Nightly reporting jobs aggregate both into
daily summary tables.
The design is deliberately split into small, independently scalable pieces connected by durable state:
Detect & register
file-poller — a long-running service that notices stable files, de-duplicates them and stages them atomically.
Hand off
A transactional outbox relays an IngestionRequested.v1 event to RabbitMQ with publisher confirms.
Launch
ingestion-event-consumer de-duplicates deliveries via an inbox table and launches the import task through the SCDF REST API.
Process
orders-batch — a short-lived Spring Cloud Task running ordersImportJob (one file per execution) or the summary jobs.
The ingestion_file table is the single source of truth for where every file is in its lifecycle; each component
owns a well-defined slice of its state machine.
2. Architecture
ingestion_file and inbox_message).3. Modules
| Module | Kind | Responsibility |
|---|---|---|
pipeline-schema | Library (resources) | Liquibase changelogs for all application tables, plus the framework (Batch/Task) changelog. Release tags release-1.0.0, release-1.1.0. |
pipeline-common | Library (auto-config) | Event contract IngestionRequestedEvent, IngestionFileStatus, SafePaths, Checksums, correlation/MDC helpers, schema-compatibility guard, search_path support, ops security. |
db-migrator | Run-to-completion job | Applies pending Liquibase changeSets (excluding the contract label), then verifies the expected release tag. Runs as a Kubernetes Job / Helm hook before app rollout. |
file-poller | Long-running service | Scans the inbox, detects complete files, de-duplicates, stages, writes the outbox event and relays it to RabbitMQ. Exposes the operator API. |
ingestion-event-consumer | Long-running service | Consumes IngestionRequested.v1, validates, de-duplicates, and launches the orders-import task via SCDF. |
orders-batch | Spring Cloud Task | Hosts ordersImportJob, ordersDailySummaryJob and rejectDailySummaryJob; the job is selected by spring.batch.job.name. |
Supporting assets: orchestration/scdf/scdf.sh (registers the app and defines tasks via the SCDF REST API),
deploy/compose/ (local Postgres schemas and an SCDF image with a Java 21 runtime), and
samples/input/ (example order files).
4. End-to-end flow
- File landsA producer writes
orders-2026-10-20.csvinto the inbox (in-progress names like.tmp/.partare ignored). - Stability checkEvery 15 s the poller records size and mtime in
file_observation. A file qualifies once it is ≥ 30 s old, unchanged across the required number of polls, and (optionally) has a ready marker. - RegisterSHA-256 is computed; an
ingestion_filerow is inserted as RECEIVED and the identity key is claimed infile_identity. Losing the claim → DUPLICATE. - StageThe file is atomically renamed to
staging/<fileId>.csv(duplicates go toduplicates/). - QueueIn one transaction the row becomes QUEUED and an
IngestionRequested.v1event is inserted intooutbox_event. - RelayEvery 2 s the outbox relay locks a batch (
FOR UPDATE SKIP LOCKED), publishes to RabbitMQ and marks rows published only after a positive publisher confirm. - ConsumeThe consumer validates the event, confines its
locationto allowed roots, claims theeventIdininbox_messageand locks the file row. - Launch
POST /tasks/executions/launchon SCDF withname=orders-importandarguments=fileId=<uuid> correlationId=…. Row → LAUNCHED with the task execution id. - ImportThe
orders-batchtask runsordersImportJob: re-verify the file (path, size, checksum) → PROCESSING; read/validate/upsert in chunks of 500; skipped lines go toorder_rejects. - FinalizeThe file is moved to
archive/yyyy/MM/dd/; counts are written and the row becomes COMPLETED. On failure it becomes FAILED and can be restarted from the last committed chunk. - ReportNightly, the
orders-reportingcomposed task recomputes the last 7 days oforder_daily_summaryandreject_daily_summaryin parallel.
5. Stage 1 · file-poller
One poll cycle (FilePoller.poll(), cron */15 * * * * * UTC) does four things in order:
- Honour the runtime switch — if
pipeline_switch['file-poller'].enabledis false, skip. Operators toggle it for all replicas throughPOST /actuator/poller. - Take the cluster-wide lock —
pg_try_advisory_lockon a dedicated connection. Only one replica scans at a time; if a pod dies, PostgreSQL drops the session and releases the lock, so there is no lease to expire. - Recover unfinished registrations — rows left in
RECEIVEDby a crash are queued if the staged file exists, or markedREJECTEDif the file vanished from the inbox. - Scan — list up to
max-files-per-poll(100) candidates oldest-first and register the complete ones.
When is a file "complete"?
| Check | Rule | Default |
|---|---|---|
| Name filter | Matches include-glob; not hidden (.-prefixed); not ending in an ignore suffix; regular file only (symlinks, dirs ignored) | *.csv; .tmp .part .partial .filepart .crdownload |
| Minimum age | now − mtime ≥ min-file-age | 30 s |
| Stability | Size and mtime unchanged for N consecutive polls (persisted in file_observation, so it survives restarts) | 1 poll |
| Ready marker | If ready-marker-suffix is set (e.g. .done), <name>.done must exist | off |
| Hash-time recheck | Size/mtime are re-read after hashing; if they changed, registration is abandoned until the next poll | always |
Crash-safe registration (FileRegistrar)
| Step | Action | If the process dies right after… |
|---|---|---|
| TX1 | Insert ingestion_file (RECEIVED) and claim the identity in file_identity; mark DUPLICATE if the claim is lost | Next scan finds the row by source_path and resumes staging |
| Move | Atomic rename into staging/<fileId>.csv (or duplicates/<fileId>-<name>) | recoverUnfinished() sees the staged file and queues it |
| TX2 | RECEIVED → QUEUED and outbox insert in the same transaction | Nothing lost: the outbox relay publishes the event |
The inbox and staging directories must be on the same filesystem so the claim is an atomic rename. The poller fails fast at startup if they are not, or if any directory is missing or not writable.
Duplicate detection — identity rules
identity-rule | Key | Effect |
|---|---|---|
CHECKSUM (default) | sha256:<hash> | Same content is a duplicate regardless of file name — robust against re-sends under a new name. |
NAME_AND_CHECKSUM | name-sha256:<sha(name)>:<hash> | A re-sent file with a new name is processed again. |
NAME_AND_SIZE | name-size:<sha(name)>:<size> | Cheap heuristic, no content check. |
The primary key of file_identity is the de-duplication point: exactly one file can win the
insert … on conflict do nothing race.
Outbox relay (OutboxRelay)
- Runs every
relay-interval-ms(2 s); locks up to 50 due rows withFOR UPDATE SKIP LOCKED, so several replicas can relay in parallel without double-sending concurrently. - Sends via
StreamBridgewith headersx-correlation-idandeventType, then waits up to 10 s for the publisher confirm. - A row is marked
published_atonly on an ack that was not returned as unroutable. Failures setnext_attempt_atwith exponential back-off (2n s, capped at 5 min). - Gauge
pipeline.outbox.pendingexposes the backlog.
6. Stage 2 · Messaging
Topology
| Element | Value | Notes |
|---|---|---|
| Destination (exchange) | pipeline.ingestion.requests | Producer binding ingestionRequests |
| Consumer group / queue | pipeline.ingestion.requests.orders-pipeline | Quorum queue; declared by the producer (required-groups) so events are retained even before the consumer first starts |
| Dead-letter queue | pipeline.ingestion.requests.orders-pipeline.dlq | Quorum; failed messages are republished with x-exception-* headers |
| Content type | application/json | Event type header IngestionRequested.v1 |
Event contract — IngestionRequested.v1
| Field | Type | Constraint | Meaning |
|---|---|---|---|
eventId | UUID | required | Unique per event; consumer inbox de-duplication key |
fileId | UUID | optional | Set by the poller; null for external publishers (consumer registers the file itself) |
location | string | ≤ 1024 | File path; must resolve inside the consumer's allowed roots |
originalName | string | ≤ 255 | Name as delivered (operator visibility) |
checksumSha256 | string | [0-9a-f]{64} | Content hash |
sizeBytes | long | ≥ 0 | Content size |
source | string | ≤ 64 | Publishing system, e.g. file-poller |
correlationId | string | ≤ 64 | End-to-end trace id |
occurredAt | instant | required | When the file became available |
{
"eventId": "6f1c…", "fileId": "0b9e…",
"location": "/data/pipeline/staging/0b9e….csv",
"originalName": "orders-2026-10-20.csv",
"checksumSha256": "9a4f…", "sizeBytes": 1834,
"source": "file-poller", "correlationId": "c2d7…",
"occurredAt": "2026-10-20T08:15:30Z"
}
7. Stage 3 · ingestion-event-consumer
IngestionRequestHandler processes each delivery with at-least-once semantics:
- Validate — Bean Validation on the event and
SafePaths.resolveWithin(allowedRoots, location), which rejects..traversal, paths outside the roots and symlinks escaping a root. Invalid events are never retried. - Claim the message in
inbox_message(key: consumer name +eventId) with a 5-minute lease:DONEalready → acknowledge and ignore (duplicate delivery);- leased by another instance → throw, the binder retries later;
- otherwise claimed, with an attempt counter.
- External events (no
fileId) — register a newingestion_filerow directly asQUEUEDwith identitysha256:<hash>; duplicates are recorded and not launched. - Lock the file row (
SELECT … FOR UPDATE), verify that location and checksum match the registration, and skip if status is inLAUNCH_NOT_NEEDED(LAUNCHED, PROCESSING, COMPLETED, DUPLICATE, REJECTED). - Launch the
orders-importtask via SCDF and, in the same transaction, set the row toLAUNCHEDand the inbox entry toDONE.
Failure classification
| Situation | Exception | Behaviour |
|---|---|---|
| Bad payload, schema violation, unsafe path, mismatch | InvalidEventException | Not retried → DLQ; inbox entry FAILED |
| SCDF 4xx (unknown definition, rejected request) | PermanentLaunchException | Not retried → file LAUNCH_FAILED, message to DLQ |
| SCDF 5xx, timeout, connection error, 429 | TransientLaunchException | Retried: 4 attempts, back-off 2 s × 3 up to 60 s; after the last attempt → LAUNCH_FAILED + DLQ |
Launch-then-crash is safe. If the consumer dies after SCDF accepted the launch but before its commit, the redelivered message launches again — and Spring Batch refuses the second execution because the JobInstance identified by fileId is already running or complete.
SCDF launch request
POST {pipeline.dataflow.uri}/tasks/executions/launch
Content-Type: application/x-www-form-urlencoded
name=orders-import
arguments=fileId=0b9e… correlationId=c2d7…,java.lang.String,false
properties=deployer.orders-batch.kubernetes.limits.memory=1Gi (optional)
→ {"executionId": 42, "schemaTarget": "boot3"}
Only fileId is an identifying job parameter; correlationId is passed as non-identifying so
it does not create new JobInstances.
8. Stage 4 · orders-batch — ordersImportJob
A short-lived Spring Cloud Task. One file = one execution = one JobInstance. The job is
prepareFile → importOrders → finalizeFile.
Step 1 — prepareFile (tasklet, re-runs on every restart)
- Loads the
ingestion_filerow; refuses terminal statuses (COMPLETED,DUPLICATE,REJECTED). - Resolves the staged path inside
PIPELINE_BATCH_ALLOWED_ROOTSand requires an existing, readable regular file. - Enforces
max-file-size-bytes(512 MiB) and re-computes SHA-256 against the registered checksum. - Any of these failing marks the row REJECTED in a
REQUIRES_NEWtransaction (so it survives the step rollback) and fails the job. - Otherwise sets PROCESSING with the job and task execution ids and stores the input path in the job execution context.
Step 2 — importOrders (chunk-oriented, fault tolerant)
| Component | Implementation |
|---|---|
| Reader | FlatFileItemReader, UTF-8, header verified (BOM-tolerant, case-insensitive), RFC 4180 tokenizer with strict column count, saveState=true for restart |
| Processor | OrderValidationProcessor — validates and normalises one line into an OrderRecord |
| Writer | JdbcBatchItemWriter with an idempotent upsert on order_id that only updates when business columns actually changed |
| Chunk size | 500 items per transaction |
| Skip policy | InvalidOrderException, FlatFileParseException; limit 1000 per file (exceeded → job fails) |
| Retry policy | TransientDataAccessException, 3 attempts |
| Skip listener | RejectRecorder writes order_rejects inside the chunk transaction; unique (file_id, line_number) makes replays harmless |
Input format
order_id,customer_id,order_date,product_sku,quantity,unit_price,currency
ORD-1001,CUST-001,2026-10-20,SKU-AAA,2,19.99,EUR
ORD-1002,CUST-002,2026-10-20,SKU-BBB,1,249.5,usd
ord-1003,cust-003,2026/10/19,sku-ccc,10,0.3333,GBP
Validation & normalisation rules
| Field | Rule | Reject codes |
|---|---|---|
order_id, customer_id, product_sku | Required; trimmed and upper-cased; must match [A-Z0-9][A-Z0-9_-]{0,63} | MISSING_*, INVALID_* |
order_date | yyyy-MM-dd or yyyy/MM/dd; not in the future (business zone); not before earliest-order-date (2000-01-01) | MISSING_ORDER_DATE, INVALID_ORDER_DATE, FUTURE_ORDER_DATE, ORDER_DATE_TOO_OLD |
quantity | Whole number, 1 … max-quantity (100 000) | MISSING_QUANTITY, INVALID_QUANTITY, QUANTITY_OUT_OF_RANGE |
unit_price | Decimal, 0 ≤ price < 1012, at most 4 decimal places; stored at scale 4 | MISSING_UNIT_PRICE, INVALID_UNIT_PRICE, UNIT_PRICE_OUT_OF_RANGE, UNIT_PRICE_PRECISION |
currency | ISO-4217 code (upper-cased); optional allow-list | MISSING_CURRENCY, INVALID_CURRENCY, CURRENCY_NOT_ALLOWED |
| Whole line | Wrong column count / unparseable quoting | MALFORMED_LINE (with a 200-char excerpt) |
Derived total_amount | unit_price × quantity, rounded HALF_EVEN to the currency's minor units (e.g. JPY → 0 decimals) | — |
Step 3 — finalizeFile
- Moves the input to
archive/yyyy/MM/dd/(ifarchive-diris set). Idempotent: if the source is gone and the target exists, a previous attempt already archived it. - Computes written as the sum of the import step's write counts across all executions of the JobInstance, and rejected from
order_rejects, so counts are correct after restarts. - Marks the row COMPLETED with
records_read / written / rejectedand the final path.
A job listener sets the MDC (fileId, jobExecutionId, correlationId) for the whole run and marks
the row FAILED with the collected failure messages if the job does not complete.
fail-on-job-failure=true makes the task exit non-zero so SCDF and Kubernetes see the failure.
9. Reporting jobs & SCDF task definitions
Both summary jobs recompute a sliding window (lookback-days = 7) with an idempotent upsert, so re-runs,
retries and late files always converge to the same result.
| Job | Source | Target (primary key) |
|---|---|---|
ordersDailySummaryJob | orders grouped by date, currency | order_daily_summary (order_date, currency) — count, total amount |
rejectDailySummaryJob | order_rejects grouped by local date (business zone), reason code | reject_daily_summary (reject_date, reason_code) — count |
Task definitions created by orchestration/scdf/scdf.sh define:
| Definition | DSL (abridged) | Purpose |
|---|---|---|
orders-import | orders-batch --spring.batch.job.name=ordersImportJob | Launched per file by the consumer |
orders-daily-summary | orders-batch … ordersDailySummaryJob, single-instance | Standalone summary |
reject-daily-summary | orders-batch … rejectDailySummaryJob, single-instance | Standalone summary |
orders-reporting | <daily: … || rejects: …> | Composed, parallel split; fails if either fails. Scheduled nightly (30 1 * * * UTC) on Kubernetes |
orders-reporting-sequential | daily: … && rejects: … | Composed, sequential; rejects run only after the order summary succeeded |
scdf.sh commands: register, define, bootstrap (both), schedule,
launch-import <fileId>, launch <definition>, execution <id>,
executions <definition>. The app is registered with bootVersion=3, so SCDF uses the
BOOT3_TASK_* / BOOT3_BATCH_* metadata tables.
10. File lifecycle (ingestion_file.status)
| Status | Set by | Meaning |
|---|---|---|
| RECEIVED | file-poller | Registered; file may still be in the inbox |
| QUEUED | file-poller / consumer (external) | Staged; event in outbox or on the queue |
| LAUNCHED | consumer | Task execution started via SCDF |
| PROCESSING | orders-batch | Job running |
| COMPLETED | orders-batch | Imported and archived; counts recorded |
| FAILED | orders-batch | Job failed; restartable |
| LAUNCH_FAILED | consumer | Launch retries exhausted or permanent launch error; retryable |
| DUPLICATE | file-poller / consumer | Same identity as an accepted file; terminal |
| REJECTED | file-poller / orders-batch | Unsafe, missing, oversized or altered input; terminal |
11. Data model (schema pipeline)
| Table | Key | Purpose |
|---|---|---|
ingestion_file | id (uuid) | One row per file seen: source (POLLER/EVENT), names and paths, identity key, SHA-256, size, status (CHECK constraint), attempts, task/job execution ids, record counts, last error, correlation id |
file_identity | identity_key | Duplicate-detection claim → file_id |
file_observation | path | Size/mtime history and stable_count for the stability check |
pipeline_switch | name | Operator on/off switches shared by all replicas (seeded file-poller = true) |
outbox_event | id | Transactional outbox (jsonb payload, attempts, next_attempt_at, published_at); partial index on unpublished rows |
inbox_message | (consumer, message_id) | Consumer de-dup, lease, attempts, outcome (LAUNCHED, SKIPPED_*, DUPLICATE_FILE) |
orders | order_id | Business data: customer, date, SKU, quantity, numeric(19,4) unit price, numeric(19,2) total, currency, source file + line |
order_rejects | id; unique (file_id, line_number) | Rejected lines with reason code, reason and optional raw excerpt |
order_daily_summary | (order_date, currency) | Daily order count and total |
reject_daily_summary | (reject_date, reason_code) | Daily reject count per reason |
Spring Batch / Cloud Task metadata lives in the dataflow schema with the BOOT3_ prefix when SCDF launches
the task. Task pods set pipeline.db.search-path=dataflow,pipeline, so a single connection sees both schemas and chunk
writes commit atomically with the batch metadata.
12. Reliability guarantees
| Failure scenario | What happens | Mechanism |
|---|---|---|
| Producer still writing the file | Not picked up | Ignore suffixes, min age, unchanged-poll count, hash-time recheck, optional ready marker |
| Two poller replicas | Only one scans; both may relay | PG advisory lock for scanning; SKIP LOCKED for outbox |
| Poller crashes mid-registration | Registration resumes | Three-step registrar + recoverUnfinished() |
| Same file sent twice (any name) | Second copy → DUPLICATE, moved aside | file_identity primary key |
| Broker down | Events wait in the outbox | Publisher confirms + exponential back-off |
| Crash between confirm and commit | Event published twice | Consumer inbox de-dups on eventId |
| Two events for the same file | One launch | Row lock + LAUNCH_NOT_NEEDED statuses |
| Consumer crashes after launch, before commit | Redelivery; second execution refused | JobInstance identity = fileId |
| SCDF unavailable | Retried, then LAUNCH_FAILED + DLQ | Binder retry/back-off; operator retry |
| Malicious path in event | Rejected, not retried | SafePaths confinement + symlink check |
| File altered after registration | REJECTED | SHA-256 re-check in prepareFile |
| Job crashes mid-file | Restart from last chunk | Reader state in step context; upsert + unique reject key make replays harmless |
| Too many bad lines | Job FAILED | Skip limit (1000) |
| Overlapping summary runs | Prevented | single-instance-enabled (task lock); idempotent upserts |
| App deployed before migration | Startup refused | Schema compatibility guard (required Liquibase tag) |
13. Schema management
- Liquibase owns the schema, and only the
db-migratorruns it. All services setspring.liquibase.enabled=false. - Release tags: every release ends with a
tagDatabasechangeSet. Each service declarespipeline.schema.required-tag(currentlyrelease-1.1.0);SchemaCompatibilityGuardfails startup if the tag is missing. - Expand / contract: between releases only additive changes ship (e.g. 1.1.0 adds nullable
ingestion_file.correlation_id), so an N app works on schema N+1 during rolling upgrades. Destructive changes carry the labelcontractand are excluded by the default label filter!contract. - Framework tables: for standalone (non-SCDF) runs the migrator executes the official Spring Batch 5 / Cloud Task 3 PostgreSQL scripts from the framework jars. Disable with
pipeline.migration.framework-schema.enabled=falsewhen only SCDF is used. - Concurrency:
DATABASECHANGELOGLOCKserialises concurrent migrators; the migrator verifiesexpected-tagas a post-condition and exits non-zero on failure, failing the deployment.
14. Operations & security
Endpoints
| Service | Endpoint | Access | Purpose |
|---|---|---|---|
| both | :8081/actuator/health (liveness, readiness incl. DB), /info | anonymous | Kubelet probes |
| both | :8081/actuator/prometheus | anonymous (configurable) | Metrics scrape |
| file-poller | GET /actuator/poller | OPS | Switch state, outbox backlog, file counts per status |
| file-poller | POST /actuator/poller {"enabled": false} | OPS | Pause/resume polling for all replicas |
| file-poller | GET /api/files?status=&limit=, GET /api/files/{id} | OPS | Inspect files (limit ≤ 500) |
| file-poller | POST /api/files/{id}/retry | OPS | FAILED/LAUNCH_FAILED → QUEUED + new event (409 if not retryable or staged file missing) |
| consumer | /actuator/bindings | OPS | Inspect/stop/start the Rabbit binding |
Security (OpsSecurityAutoConfiguration): stateless HTTP Basic, single in-memory user with role OPS
(credentials from PIPELINE_SECURITY_OPS_USERNAME/PASSWORD). The management port 8081 is never exposed through
Ingress/Route; use TLS whenever traffic leaves the pod network.
Key metrics
| Metric | Tags | Source |
|---|---|---|
pipeline.poller.cycles | outcome: completed, locked, disabled, error | file-poller |
pipeline.poller.cycle.duration | — | file-poller |
pipeline.poller.files | outcome: registered, duplicate, lost, io_error | file-poller |
pipeline.outbox.pending / .published / .failures | type | file-poller |
pipeline.ingestion.events | outcome: launched, skipped, duplicate_message, duplicate_file, rejected, failed_attempt | consumer |
pipeline.ingestion.retries | — | consumer |
pipeline.orders.rejected | reason | orders-batch (OTLP push) |
pipeline.files.completed | — | orders-batch (OTLP push) |
Correlation & logging
A correlationId is generated at registration and carried in the ingestion_file row, the event payload,
the x-correlation-id message header and a non-identifying job parameter. Every log line includes it via MDC:
INFO [corr=c2d7…] [file=0b9e…] [job=17] Import completed: written=3 rejected=1
Logs contain line numbers and reason codes only — never full record contents.
15. Configuration reference
Required environment
| Variable | Used by | Meaning |
|---|---|---|
SPRING_DATASOURCE_URL / _USERNAME / _PASSWORD | all | PostgreSQL connection (from a Secret) |
SPRING_RABBITMQ_* | poller, consumer | Broker connection |
PIPELINE_POLLER_INBOX_DIR / _STAGING_DIR / _DUPLICATES_DIR | poller | Landing directories (inbox and staging on the same volume) |
PIPELINE_CONSUMER_ALLOWED_ROOTS | consumer | Directories event locations must resolve into |
PIPELINE_DATAFLOW_URI, PIPELINE_DATAFLOW_TOKEN | consumer | SCDF server and optional bearer token |
PIPELINE_BATCH_ALLOWED_ROOTS, PIPELINE_BATCH_ARCHIVE_DIR | orders-batch | Readable input roots; archive destination (empty = leave in place) |
PIPELINE_BATCH_TABLE_PREFIX, PIPELINE_TASK_TABLE_PREFIX | orders-batch | BATCH_/TASK_ standalone; SCDF passes BOOT3_* |
PIPELINE_SECURITY_OPS_USERNAME / _PASSWORD | poller, consumer | Ops API credentials |
Tunables (defaults)
| Property | Default | Property | Default |
|---|---|---|---|
pipeline.poller.cron | */15 * * * * * | pipeline.consumer.max-attempts | 4 |
pipeline.poller.min-file-age | 30s | pipeline.consumer.lease | 5m |
pipeline.poller.required-unchanged-polls | 1 | consumer concurrency / prefetch | 2 / 10 |
pipeline.poller.identity-rule | CHECKSUM | pipeline.dataflow.import-task-name | orders-import |
pipeline.poller.max-files-per-poll | 100 | pipeline.batch.chunk-size | 500 |
pipeline.poller.ready-marker-suffix | (none) | pipeline.batch.skip-limit | 1000 |
pipeline.poller.outbox.relay-interval-ms | 2000 | pipeline.batch.retry-limit | 3 |
pipeline.poller.outbox.batch-size | 50 | pipeline.batch.max-file-size-bytes | 512 MiB |
pipeline.poller.outbox.publish-timeout | 10s | pipeline.batch.zone | UTC |
pipeline.poller.outbox.max-backoff | 5m | pipeline.batch.summary.lookback-days | 7 |
Version constraint. The stack is pinned to Spring Boot 3.5 / Batch 5 / Task 3 because SCDF 2.11 (the last OSS line) understands Boot 3 task apps but not Boot 4 / Batch 6. The SCDF local deployer needs a Java 21 runtime inside its image (deploy/compose/scdf/Dockerfile); on Kubernetes each task runs as its own pod.