429 questions
1
vote
0
answers
20
views
Does GridDB Cloud support triggers or callbacks for real-time data processing?
I'm building a data ingestion pipeline with GridDB Cloud where IoT devices send temperature data every few seconds.
Once data is inserted into the container, I want to immediately trigger a function ...
0
votes
1
answer
106
views
How to avoid creating circular dependencies between Order, Bot, and Exchange?
I'm working on a cryptocurrency grid trading system where bots create Order entities. When an Order is created, it triggers a domain event to send the order to the corresponding Exchange. The issue is ...
3
votes
0
answers
110
views
Why does not using the Event dispatching thread cause a deadlock?
I have read this thread and verified that it results in a deadlock (JavaSE-22). However, I simply cannot figure out why. Can anyone kindly explain what exactly happens? I know that we are NOT supposed ...
1
vote
0
answers
35
views
Are timers in Node.js part of event-driven architecture? Do they emit events when they expire?
I was wondering if timers are actually part of event-driven architecture in Node.js.
However, I haven't found anything mentioning it in the official Node.js documentation.
Does it actually emit any ...
1
vote
2
answers
308
views
publishEndpoint.Publish() Not Sending Messages with Kafka in MassTransit
I'm facing an issue where producer.Produce() works and successfully sends messages to Kafka, but publishEndpoint.Publish() doesn’t seem to produce any messages. I'm using MassTransit with Kafka, and I ...
0
votes
1
answer
76
views
How to manage nested schema's in event driven architecture and where to store them?
We are developing an IoT cloud solution with an event driven architecture.
The devices produce events and communicate with consumers through an event broker. All event messages are serialized in JSON. ...
1
vote
2
answers
191
views
How to Maintain Data Integrity with Concurrent and Out-of-Order Events?
I'm building a back office tool with a microservices architecture, and I'm facing challenges with handling concurrent and out-of-order events.
Context:
I have microservices that emit events which are ...
2
votes
1
answer
375
views
Understanding the Relationship Between EventEmitter in Node.js and addEventListener in the Browser
I'm currently delving into Node.js and exploring its unique features compared to JavaScript in the browser environment. One concept that caught my attention is the EventEmitter, which handles events ...
0
votes
1
answer
46
views
consumer is not invoked when publishing from another one
I have an issue using kafka with spring boot, I have a spring boot microservice that is linked to kafka,this app works fine, I can produce and consume events with no problem excpet this cas :
I need ...
3
votes
0
answers
114
views
Events seems to vanish upon projection linking
I am using the EventStore solution for the event-driven approach in my new project. I've noticed an issue where emitting an event and linking to a stream seems to make previous events disappear from ...
0
votes
1
answer
500
views
Transactional Outbox Pattern with AWS RDS
I am building event driven microservice architecture with Java and Spring. I want to implement transactional outbox pattern and listen for changes on my AWS RDS Postgres tables (CRUD operations ) and ...
0
votes
0
answers
139
views
How to break inifine loop in a event driven architecture?
To understand the issue I provide a simplified diagram of my system:
Let's see the Business service allows you to create an account. It generates 1. Business event.
The event is processed by the ...
0
votes
1
answer
68
views
Commands that need information from external systems
Let's say I'm implementing an application that manages stocks and portfolios using event sourcing. I have the following commands:
CreatePortfolio
BuyStocks
SellStocks
ClosePortfolio
The handling of ...
0
votes
0
answers
260
views
what is the real benefit of using outbox pattern in an event-driven architecture
According to all of the articles I've seen so far about the benefits of using the Outbox pattern in an event-driven architecture, they all use this pattern so if the Message Broker fails, messages don'...
0
votes
1
answer
601
views
Kafka in microservices for providing transactions
Can Kafka be used to provide transactions between microservices?
Let's say we build a simple online store with 2 microservices: order and storage.
While placing an order, you want to also update the ...
2
votes
0
answers
895
views
How to trigger a lambda or glue job when a file is placed in SharePoint?
If a file is placed in Microsoft SharePoint I want to trigger my AWS lambda code to bring that file to S3 (An event driven approach). Is there any way to do this? Also, I don't want to schedule it.
As ...
0
votes
0
answers
426
views
How to do test automation for event driven architecture
We have a service A, which has AWS MSK event listener. It then processes the event and adds data into db.
We have get API on the service, which provides the data referring to the db in step above.
We ...
0
votes
1
answer
2k
views
Azure Functions - BlobTrigger - How to trigger function with any file in a container?
I'm facing a problem with an Azure Function.
I've build an Azure Function triggered by a new file on a container of a storage account.
The problem is that it seems impossible (to me) to trigger the ...
0
votes
1
answer
663
views
ABP.IO - Handle multiple events in same microservice
Considering the below documentation and the example to handle different events
https://docs.abp.io/en/abp/latest/Distributed-Event-Bus#pre-defined-events
Do I need to have 3 microservices to handle ...
1
vote
2
answers
614
views
Microservices streaming data vs events
In microservices architecture, you can follow an event driven architecture where you want to publish events, doubt it’s about size of the payload.
What is a reasonable amount of data to be there?
You ...
1
vote
1
answer
1k
views
How to check data integrity/consistency in asynchronous (event-driven) system
Let's say we have an asynchronous event-driven system where service A owns some data, publishes events and service B is consuming them and is storing the copy of the data in its local DB.
I'd like to ...
1
vote
0
answers
94
views
Filtering messages on one of thousands of values in AWS - event-driven architecture
We are working on a system in which one microservice publishes an event on a bus and many others microservices are subscribed to that bus.
Some of the subscribed microservices want to filter the ...
7
votes
3
answers
1k
views
Can a domain event be emitted without being part of an aggregate state change (DDD)
I would like to know how can a domain event be implemented (in DDD) if it is not a natural result of an aggregate's state change.
I will borrow the example of this post.
So lets say that we need an ...
1
vote
1
answer
335
views
How to "replay" past integration events to replicate current state in a new context
I'm quite new to DDD and Event Driven architectures. And after searching this issue I did not manage to get a clear answer by myself, so I'll appreciate if someone can clarify this.
Suppose I ...
3
votes
1
answer
368
views
Guarantying eventual consistency without a message broker (utilising an in memory message bus)
I am thinking if there could be an easy way to guarantee eventual consistency in an event driven modular monolith, which is utilising an in process message bus instead of an actual external message ...