v3.2.0 #654
Tochemey
announced in
Announcements
v3.2.0
#654
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Cluster PubSub
The distributed publish subscribe feature solves the problem of sending messages to all actors in the cluster that have registered interest in a named topic. This feature is only enabled when the actor system is running in the cluster mode and the
pubsub
option is enabled.How does it work?
Once the distributed publish subscribe mechanism is enabled,
TopicActor
is started on all nodes in the cluster. This actor is not redeployed on node failure.Subscribe
tell-message to theTopicActor
. Successful subscription will receiveSubscribeAck
message. To unsubscribe the subscribed actor need to sendUnsubscribe
tell-message to theTopicActor
. When the operation is successful the actor will receiveUnsubscribeAck
message.Publish
tell-message to theTopicActor
. The published messages will be disseminated to all local subscribers and remote subscribers of the given named topic.More can be found in the doc: https://tochemey.gitbook.io/goakt/cluster-pubsub
Pull Requests
Full Changelog: v3.1.2...v3.2.0
This discussion was created from the release v3.2.0.
Beta Was this translation helpful? Give feedback.
All reactions