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
1 answer
Multiple repositories for same data store but different domain logic?
I am building a feature that is powered by a given table, called Urls, structured as below:
externalId| activatedId | url | userId
This table is populated, driven by 2 scenarios (flows):
Whenever a user creates an account in my system, a event is…

Sammy
- 767
- 2
- 7
- 25
0
votes
1 answer
Azure Event Hub: There can be at most 5 concurrent readers on a partition per consumer group
According too Microsoft docs
There can be at most 5 concurrent readers on a partition per consumer group; however it is recommended that there is only one active receiver on a partition per consumer group. Within a single partition, each reader…

Kevin Peters
- 1
- 1
0
votes
0 answers
Integration of Keycloak event listener with SprinBoot application
I wrote my custom Event listener SPI plugin that console logs all events (user event + admin event) in Keycloak. I deployed it in my Keycloak server and tested; everything works fine.
Now, what could be the best way to send events from my plugin to…

paradox
- 303
- 3
- 16
0
votes
1 answer
Which messages should be published to a Kafka topic, and when?
I have some few services, like Catalog Service, Customer Service, Recommendations Service, Order Taking Service and so on ..., each service has its own Keyspace in a Cassandra database.
I have two questions:
1 - For a change in a service: should I…

acmoune
- 2,981
- 3
- 24
- 41
0
votes
2 answers
CQRS and Event Sourcing - Read your own events
Currently, I'm implementing Event Driven Architecture and have a service for command (write part) and another service for query (read part).
What I'm doing right now.
Accept a command on CommandService
Store event and publish event on an event…

Ahmed Alaa El-Din
- 1,813
- 1
- 16
- 19
0
votes
1 answer
Kafka - Difference between Events with batch data and Streams
What is the fundamental difference between an event with a batch of data attached and a kafka stream that occasionally sends data ? Can they be used interchangeably ? When should I use the first and when the latter ? Could you provide some simple…

Cap Barracudas
- 2,347
- 4
- 23
- 54
0
votes
3 answers
In DDD: Commands that produce events that no one consumes
I am applying Domain driven design in my project and I am running into a scenario where a user action translates into a command in one of my bounded contexts and thus produces an event. However I see that none of my other bounded contexts would…

john
- 1,057
- 1
- 17
- 28
0
votes
1 answer
What are good strategies on publishing/emitting events with huge payload(json/xml)?
On a use case that a microsevice publishes/emitts an event that may contain a payload of hundreds of thousands of records, how would you pass this on your event store?
Are there any practices around this?
Is it a good idea to split the event in…

froi
- 7,268
- 5
- 40
- 78
0
votes
1 answer
Azure Messaging services: detecting the absence of a message
Within an Azure micro-services environment, implementing an event driven architecture, I have the challenge of acting upon a received event. I also have the counter challenge of detecting a duration with no events.
Has anyone identified a way in…

Adam
- 1,149
- 10
- 12
0
votes
1 answer
Data Model/Schema decoupling in Data Processing Pipeline suing Event Driven Architecture
I was wondering how Microservices in the Streaming Pipeline based on Event Driven Architecture can be truly decoupled from the data model perspective. We have implemented a data processing pipeline using Event-Driven Architecture where the data…

Ali
- 1,759
- 2
- 32
- 69
0
votes
1 answer
Spring dataflow and GCP Pub Sub
I'm building an event-driven microservice architecture, which is supposed to be Cloud agnostic (as much as possible). Since this is initially going in GCP and I don't want to spend a long time in configurations and all that, I was going to use GCP's…

CCC
- 2,642
- 7
- 40
- 62
0
votes
1 answer
OOA&D / Java / Software Architecture - advise on structuring event handling code to avoid a complicated data flow
I've implemented the producer/consumer paradigm with a message broker in Spring and my producers use WebSocket to extract and publish data into the queue.
A producer is therefore something…

Allen Hacks
- 97
- 1
- 6
0
votes
0 answers
Java-Need to access a single object in several "Controller.java" files
Creating a simple Automated Teller Machine(ATM) using OOP in Java. The console version was easy. I'm stuck on the event-driven GUI version. I've created all the views using SceneBuilder. Each scene has a "controller.java" file to manage movement…

scott parent
- 77
- 1
- 1
- 3
0
votes
0 answers
What is the most efficient way to store and recall one object from either of two unique keys in Java?
I am working on creating a very performance-focused event-driven system. In this program, I have one object that needs to be linked to two different unique keys. The object contains parameters of what to do when one of two different events is…

Petre247
- 1
0
votes
2 answers
Calling functions one after other in event driven programming
I'm working on a software where software issues commands for hardware panel and once a command is issued, its response received after few seconds . there are different functions for different hardware commands like
public void FunctionA()
{
…
user8938436