Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the difference between EventStream and pub-sub? #2009

Open
AqlaSolutions opened this issue May 18, 2023 · 2 comments
Open

What is the difference between EventStream and pub-sub? #2009

AqlaSolutions opened this issue May 18, 2023 · 2 comments

Comments

@AqlaSolutions
Copy link
Contributor

AqlaSolutions commented May 18, 2023

https://proto.actor/docs/cluster/pub-sub/
https://proto.actor/docs/eventstream/

@drewpcodes
Copy link

drewpcodes commented Jun 20, 2023

Pub-sub subscribes to a named topic, as opposed to a message type in eventstream.
So let's assume you're monitoring a bank transaction, the topic name might be the transaction ID in a pub-sub system. When listening to the eventstream, subscribers would need to manually filter or correlate the various messages they're subscribed to by the transaction ID property on the messages themselves.

@ghost
Copy link

ghost commented Jul 21, 2023

Just to add, as far as I understand from the code EventStream is local to a member in a cluster.
Pub-sub is cluster wide, so the messages are propagated to all cluster members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants