C1 (2 points)
https://knobit.org/id/task/dii-integration-patterns/C1
Also as Turtle · JSON-LD · RDF/XML
| dcterms:license | https://creativecommons.org/licenses/by/4.0/ |
|---|---|
| owl:sameAs | https://bitbucket.org/reffa/ontology/id/task/dii-integration-patterns/C1 |
| rdfs:label | C1 (2 points) en |
| schema:hasPart | dii-integration-patterns C1: the authorisation stream inserts with no idempotency key |
| schema:hasPart | dii-integration-patterns C1: an idempotent design on the authorisation id |
| schema:identifier | C1 |
| schema:position | 1 |
| schema:text | Idempotency, 1 each. (a) F-01, the authorisation stream consumer, INSERTs every message with no key and commits offsets after the insert; Kafka delivers at least once, so a consumer restart re-inserts: duplicates on retry. (b) The design makes duplicates impossible: upsert (or unique constraint plus ignore) on auth_id, so any redelivery or replay leaves one row per authorisation - not 'monitor for duplicates' or 'rarely happens'. en |