Event Driven Design is the implementation of requirements through a queue of events that are triggered by user input. Callback functions only create event objects and add them to the queue so state remains unchanged.
Questions tagged [event-driven-design]
241 questions
0
votes
2 answers
Send, Publish and Request/Response in MasstTransit
Recently I am trying to use MassTransit in our microservice ecosystem.
According to MassTransit vocabulary and from documents my understanding is :
Publish: Sends a message to 1 or many subscribers (Pub/Sub Pattern) to propagate the message.
Send:…

Mohammad
- 1,197
- 2
- 13
- 30
0
votes
1 answer
Kafka Event Router: Filtering and Content based Routing, how?
Data is available in chat.* topics in Kafka.
We can just spin up multiple consumers and make the all hook into this single event for consumption.
But, not all products want to work on the complete events in the main topic. We want to branch the…

Alok Kumar Singh
- 2,331
- 3
- 18
- 37
0
votes
3 answers
Horizontal Scaling in Event Sourced system having In Memory Database
I've been reading up about event sourcing, about keeping events logs and recreating the application state when server starts up.
What happens when you have to horizontally scale your system? Won't there be a need for a synchronisation service…

skrill0
- 29
- 2
0
votes
2 answers
Handling large simultaneous workloads using pub/sub?
I'm working on a problem where large no. of operations have to simultaneously be kicked off based of an event. For example, user types a destination and dates and wants the best offer from over 200 "travel partners".
To satisfy this, I'm planning on…

ke3pup
- 1,835
- 4
- 36
- 66
0
votes
1 answer
How should I update copied data in event sourced aggregate?
Contrived example, but say I have an Order aggregate with OrderLine entities. The order line contains cost, quantity and the name of the product. The aggregate is persisted as events to be event sourced. Typically, a single product could have…

Sio
- 1,419
- 1
- 13
- 23
0
votes
1 answer
Does spring cloud stream support dynamic routing, which is rabbitmq feaure?
Is dynamic routing is same as dynamic destination binding in spring cloud stream ?
Dynamic routing as per rabbit all producer published to same queue, producer configured with routingKeyExpression and consumer listener configured with…

Atul
- 1
- 2
0
votes
0 answers
How to mock AWS SNS-SQS outages?
In our application, we have a event driven architecture where we communicate between de-coupled systems using AWS SNS-SQS. We publish event to SNS and receive via SQS.
We recently faced outage with SNS during some hours due to AWS issue. We had a…

Sanket Barapatre
- 173
- 3
0
votes
0 answers
Event-driven architecture design problem with Eventbridge and cross-stack references?
I have a question that I have been thinking about for the last few days.
This is the diagram of a part of the architecture
I am concerned about the scalability and maintainability of this approach. We are discovering the first problems that are…

adrG2
- 11
0
votes
0 answers
Filter out duplicates and only generate events when something has changed
We have a system that sends us events when any attribute has changed on an order. They have a full order structure with say 500 attributes and we only storing a subset of them say 50 attributes + some transformation to our internal order data model.…

Prasad Sawant
- 205
- 1
- 15
0
votes
1 answer
Best approach for JMS based spring boot microservice deployed in multiple data center
I am using PCF for deploying my event driven microservice. It receives message from queue and then process and publish output to another topic. The application is going to be deployed in multiple data center for high availability. What I am…

Albin
- 277
- 5
- 19
0
votes
1 answer
CQRS: Read model projection update in an API
I would like to have a simple CQRS implementation on an API.
In short:
Separate routes for Command and Query.
Separate DB tables (on the same DB at the moment). Normalized one for Command and a de-normalized one for Query.
Asynchronous event-driven…

Michael Chekin
- 568
- 4
- 11
0
votes
1 answer
HeartBeat event in event driven microservice architecture?
Is it a good idea to use HeartBeat events in Event-driven Microservice Architecture ?
The application i'm working on contains an Event Distribution Framework which collects events from various systems and publishes to the Consumer app.
I was…

user1354825
- 1,108
- 4
- 21
- 54
0
votes
1 answer
Implementing transactional outbox event architecture in azure
I have a large message submitted to a rest service, it could be 100k or 50mb. I need to process it asynchronously, and it looks like the transactional outbox event pattern is suitable for my needs.
Effectively, my service would commit the data to…

Jeremy
- 44,950
- 68
- 206
- 332
0
votes
1 answer
Sending Spring domain events using a custom ApplicationEventPublisher
I'm trying to implement an application using Spring Boot/Spring Data, following DDD architecture guidelines. I have an Aggregate Root which publish domain events using the method AbstractAggregateRoot::registerEvent() . Furthermore, I need to…

Carmine Ingaldi
- 856
- 9
- 23
0
votes
0 answers
Custom events programming in Node.js: I/O bound event-oriented design patterns?
I'm developing a factory automation software (a totem vehicle gate) in node.js.
The program has manage a bunch of 'tasks', by example it has to:
monitor and control some I/O digital signals
manage messages from external hosts, say via TCP socket…

Giorgio Robino
- 2,148
- 6
- 38
- 59