67 questions
1
vote
0
answers
21
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
55
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
95
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
123
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
37
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
0
answers
185
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
229
views
How to implement transactional outbox pattern with AWS Lambda and PostgreSQL
I use AWS Lambda function to respond to HTTP requests.
The function stores some data in a PostgreSQL database.
To reliably notify interested parties of the changes, I use transactional outbox pattern.
...
0
votes
0
answers
104
views
MassTransit outbox pattern
I am using the outbox pattern in MassTransit with Entity Framework and RabbitMq in my application.
I found that if I just publish the message to the bus using IPublishEndpoint it will not be published ...
0
votes
0
answers
66
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 ...
0
votes
0
answers
75
views
Is there a way to delete a message from the outboxstate table in masstransit after receiving an ack?
I am trying to implement an outbox pattern with MassTransit. When rabbitmq is down, my producer project cannot access rabbit, so it adds the relevant message to the outboxstate and outboxmessage ...
-1
votes
1
answer
141
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
83
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
298
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
146
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
182
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 ...