I publish a distributed event bus with transactional event in/outbox pattern I configure the event inbox and outbox the same the documentation into my dbcontext
Problems: No records are inserted into the EventBox table, but the event handler still receives the event notification.
When I produce a message from the UI to Apache Kafka, my service successfully consumes the message and inserts it into the EventInbox table. However, when my service publishes a message, it is not inserted into the EventOutbox table. Despite this, other services are still able to consume the message from Kafka.
Expected Behavior: Messages produced by my service should be recorded in the EventOutbox table before being published to Kafka.
Observed Behavior: The message is successfully published and consumed by other services. However, the EventOutbox table does not contain the published message