Skip to content

Using Edomata for real-time streaming use case #210

Closed Answered by hnaderi
cloudcompute asked this question in Q&A
Discussion options

You must be logged in to vote

So this means an application using Edomata is capable of doing both things:
a. Writing to a database (event store)
b. Writing to Kafka (this code will pull the new events from the backend and posts them to Kafka)

Yes, you can read both the events and notifications once they are commited.

We will read events from the backend only once. Am I right?

It depends on how you process the data after reading.
Each event in the journal has a version, seq nr. and an Id you can use to implement idempotency.
Also, for notifications, the default behavior is to only read the notifications that are not marked as read yet. (like a kafka manual ack consumer)

If yes, how can I make sure that both the st…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hnaderi
Comment options

Answer selected by cloudcompute
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants