If you’ve ever tried to publish messages to Kafka or NATS right after writing to a database, you’ve probably run into that uncomfortable question: “What if the DB transaction succeeds, but the message publish fails?” This is one of those…
If you’ve ever tried to publish messages to Kafka or NATS right after writing to a database,…
Most Saga tutorials either stop at “call service A then service B” or gloss over the annoying…
When building microservices, business transactions often span multiple services. For example, in an e-commerce system: Order Service…
Testing is a critical aspect of software development, ensuring code reliability, maintainability, and performance. In the Golang…
Additional test packages Test files can declare an additional test package, matching the source files package with…