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. |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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.