One bad row failed the whole batch
A bulk endpoint accepts a thousand records. One has a malformed date, so the endpoint returns a single error and imports nothing. The client has no idea which record was at fault and retries the identical batch, which fails identically.
The caller is left guessing, and the only way forward is to bisect a thousand rows by hand.
Report the outcome at the granularity the caller can act on.
Components — tap one, then tap a slot on the diagram
!One malformed row in a thousand rejects the entire batch, with no indication which row.
Outside every boundary: Bulk endpoint (all or nothing; FAILED: rejects everything), Importer (1000 records), an empty slot for the the response shape Connections: Importer calls Bulk endpoint — 1000 records (step 1) Bulk endpoint calls the response shape (step 2) the response shape calls Importer — 999 ok, 1 named (step 3)
Bulk endpointall or nothingrejects everything
Importer1000 records