actor_cluster 0.3.0 actor_cluster: ^0.3.0 copied to clipboard
Connects multiple actor systems into a cluster. Actor systems can run in different isolates and processes.
Changelog #
0.3.0 #
- Removed parameter
onLogRecord
from the constructor ofActorCluster
. Use the new parameterinitWorkerIsolate
instead. - Added parameter
initWorkerIsolate
to the constructor ofActorCluster
. Use this callback to initialize the isolate of a worker.
0.2.2 #
- Library
actor_system_helper
is exported by this library.
0.2.1 #
- Library
actor_system
is exported by this library.
0.2.0 #
- BREAKING CHANGE: based on version 0.7.2 of package
actor_system
. - BREAKING CHANGE: Splitted configuration into separate parts for cluster and node.
- Node selection for actors to be created is now based on node metrics.
- Cluster nodes can be configured with tags. For each tag the number of required nodes can be configured. If configured, the cluster will only start, if all required tags are available.
- The
path
parameter ofcreateActor()
can now contain a fragment. The fragment is used as a node tag. The actor will be created on a node tagged with the given tag.
0.1.0 #
- Based on library
actor_cluster
of version0.3.0
of packageactor_system
. - BREAKING CHANGE: Renamed
PrepareNodeSystem
toAddActorFactories
. - BREAKING CHANGE: Renamed parameter
prepareNodeSystem
ofActorCluster.init()
toaddActorFactories
. - BREAKING CHANGE: Renamed parameter
afterClusterInit
ofActorCluster.init()
toinitCluster
. - BREAKING CHANGE:
initCluster
is now only called on leader node.