AiTeky Original Interactive Learning & Practice Intermediate
Event-driven extensions: at-least-once delivery, idempotent handlers and the double confirmation
See why an event broker may deliver the same event twice, how a handler that is not idempotent double-counts, and make an order extension safe so that a retry sends one confirmation and takes stock once.
Extensions that run beside a business system, such as those built on SAP Kyma (a Kubernetes-based runtime on SAP BTP), react to events: "order created", "stock changed". The broker that carries events promises that none are lost. To keep that promise it sometimes delivers the same event more than once. This is called at-least-once delivery, and it means every handler must be safe to run twice.
This course models delivery, duplicates and safe handlers with small Python programs you can run in your browser. Python stands in for the extension: the code is not Kyma configuration, but the delivery behaviour and the idempotent handler it shows are the real pattern. Check your platform's documentation for the delivery guarantees of your event service. All numbers are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
No Kyma or Kubernetes experience is assumed. Basic Python helps.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 25 min Free sample 🔒 AiTeky Pass The event that arrives twice Simulate a broker that redelivers an event when it does not hear an acknowledgement, and see how a handler that subtracts stock each time double-counts.
- 02 25 min 🔒 AiTeky Pass Make the handler safe to repeat Make a handler idempotent by recording each event id, and see why the record must be an atomic insert and not a check followed by a write.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

