Cross-Language Integration with Event Store #481
|
I'm exploring ways to integrate spatie/laravel-event-sourcing with systems written in other languages. Specifically: Is there a way to listen to event store changes from outside the Laravel ecosystem? The goal is to create projections in another language. |
Answered by
inmanturbo
Aug 25, 2024
Replies: 1 comment
|
The event store is just a table in a relational database. You would have to poll the table over tcp with your language's mysql client, or implement your own method. The events can queued for instance so you could implement a queue driver for something like rabbitmq. Or use http and set up an API or implement web hooks. |
0 replies
Answer selected by
b-barry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The event store is just a table in a relational database. You would have to poll the table over tcp with your language's mysql client, or implement your own method. The events can queued for instance so you could implement a queue driver for something like rabbitmq. Or use http and set up an API or implement web hooks.