67 questions
Best practices
1 vote
2 replies
81 views
Debezium + Transaction Outbox in Spring Boot: how to avoid duplicate Kafka events with CDC when reprocessing and multiple consumers?
I’m implementing the Transaction Outbox pattern using Debezium CDC in a Spring Boot microservice and I’m struggling with duplicate event semantics in failure and reprocessing scenarios. Tech stack: ...
0 votes
1 answer
80 views
Rebus.SqlServer Outbox uses Openjson
I am using Rebus.SqlServer outbox functionality to ensure message are delivered properly. However I get an error message stating OPENJSON is not found. I am using SQL Server 2012. Is there any ...
2 votes
1 answer
78 views
Outbox pattern problem with postgresql in python
I have a problem and I don't have a solution for it, I am using fastapi and sqlalchemy and the project was working and then I used db.begin and I had to change the producer system because I am using ...
1 vote
0 answers
30 views
Storing Domain Events directly in Outbox table vs mapping to Integration Events in Java/Spring (DDD based Microservices) [duplicate]
I have a Spring Boot / Java application following Domain-Driven Design and Event-Driven Architecture. In my domain service, I create a ReservationCreatedEvent (a domain event) and publish it: ...
Best practices
0 votes
1 replies
95 views
How to implement an automated E2E testing for an Event Driven Architecture?
I have an EVDA system that each component communicate to each other using Kafka and Outbox Pattern. How to implement an automated E2E testing that I start producing an event from an upstream, then ...
1 vote
1 answer
200 views
Should I create a separate Integration Event when using the Outbox Pattern in a DDD-based microservice? [closed]
I’m building a Java microservice using Spring Boot 3.5.7, Kafka, and the Outbox Pattern. In my domain layer, I raise a domain event: package com.turkcell.reservation_service.domain.event; import com....
1 vote
2 answers
155 views
postgres and statistics on outbox pattern table
Summary: Postgres randomly switches index on a non uniformly distributed table, causing massive performance drop. We implemented the outbox pattern like so: A postgres database A golang worker to ...
0 votes
0 answers
41 views
Parallel sagas listening to the same channel are encountering a race condition
I'm attempting to develop an understanding of the Saga and Outbox patterns, and am working on development now. I'm using RabbitMQ and NestJS. I've got three services, Orders, Inventory, and Shipping. ...
0 votes
1 answer
278 views
Debezium RabbitMQ outbox event static routing key
I am trying to implement outbox pattern by reading inserts in a table from a MySQL and transforming them into events in RabbitMQ. My Outbox table contains: id uuid payload exchange routing_key ...
0 votes
0 answers
77 views
Azure Cosmos DB for Mongo data consistency
I tried to implement the transactional outbox pattern in my Spring Boot app. I'm using Azure CosmosDB for Mongo, which does not support transactions across collections. When I attempted to perform ...
-1 votes
1 answer
162 views
How to manage MassTransit Outbox pattern db schemas across microservices [closed]
I have many microservices and each have its own DbContext (one per microservice) and model. The db separation is by Schema in the same database. I want to use MassTransit Outbox pattern in all my ...
0 votes
1 answer
89 views
Getting default values using TypeNameHandling in Newtonsoft JSON
I'm doing a basic serialize / deserialize with $type included to implement the outbox pattern. however I'm getting the default values. Here's the code serializing : JsonConvert.SerializeObject(...
1 vote
2 answers
384 views
Transactional outbox distributed lock fencing confusion
I wish to implement the transactional outbox pattern in a system that uses a database table as a transactional outbox in concert with Kafka in order to guarantee exactly-once delivery of my messages ...
0 votes
1 answer
165 views
Masstransit Constraints Exception
I am using MassTransit Outbox feature. I often get exception like this EntityFramework.Exceptions.Common.ReferenceConstraintException: Reference constraint violation ---> Npgsql.PostgresException (...
0 votes
1 answer
224 views
Microservices inbox-outbox pattern
I have a question I'm curious about. Let's say we are developing a microservice social media application (I chose this topic for practical purposes :)). I'm using the inbox-outbox pattern to ensure ...