Demonstrating a generic non-blocking consumer retry pattern
At a glance
What it means for you
Fewer expensive surprises, and decisions you can defend
Architectural risks are found and fixed before production, when they are cheapest to fix. Every significant decision is recorded with its reasoning and the options rejected, so you can see why the system is shaped the way it is and explain it to auditors, boards and regulators.
Patterns, trade-offs and evidence, written down
Event-driven architecture and microservices on Kafka: topic and partition design, keys and ordering, idempotent consumers, the transactional outbox, retry and dead-letter strategy, schema evolution, and where eventual consistency is acceptable. Proofs of concept settle contested choices with evidence, and decisions are captured as architecture decision records.
What you get
Outcomes you can check
What changes for the programme, and how you will know.
- Risk you can see
Points of failure identified and ranked, with a recommendation for each and the cost of leaving it.
- A decision log
Each significant decision recorded with its reasoning, the options considered and who made it.
- Compliance designed in
Traceability, data handling and operational constraints treated as design inputs from day one.
- A target architecture your team understands
Diagrams and written rationale your engineers can build from and your auditors can follow.
How we do it
Practices and patterns
- Architecture review for points of failure and single points of dependency
- Proofs of concept and parallel running to settle contested choices
- Topic, partition and key design for ordering guarantees
- Idempotent consumers and deduplication patterns
- Transactional outbox with change data capture
- Blocking and non-blocking retry, and dead-letter strategy
- Schema design and evolution
- Architecture decision records and a structured design sequence
Evidence · Northwestern Mutual
A regulated payments system designed not to lose or duplicate money
At Northwestern Mutual we reviewed the architecture for points of failure, built proofs of concept for the alternatives and designed out message loss and duplication in an event-driven payments system. Failed messages are handled gracefully within transactions.
Read the Northwestern Mutual case study- Manual to manyproduction deployments a day
- Provenexpected loads and SLAs, before go-live
Good fit if
You will recognise these
- You are about to commit to an architecture that will be hard to reverse.
- You are designing your first event-driven system.
- Messages are being lost, duplicated or processed out of order.
- You need to explain the design to an auditor, board or regulator.
Bring the design you are least sure of
A working session with an architect on one hard design decision. You leave with the options and trade-offs written down.
Book a working sessionAnswer for the programme? Ask for a short assumptions-and-risk review instead.
From Labs
See how we approach it
Our engineers publish the patterns and tests we use with clients, most with code you can run.
Demonstrating the Transactional Outbox pattern using Kafka Connect with Debezium for Change Data Capture
Uncovering how Kafka guarantees message ordering based on the relationship between message keys and topic partitions
Next step
Start with a conversation, not a contract
Tell us what you are building and what worries you about it. An architect, not a salesperson, will reply within one working day.
Reply within one working dayNDA on requestNo obligation
