Enhancing Shard Assignment and Affinity Flexibility in Effect Cluster
Exploring effect cluster for a while I found a set of use cases difficult to implement with it due to a lack of
As far as I can see, at the moment only group affinity is available via
I would expect smth like this to be possible, where cluster would manage correct
Am I missing anything and this type of behavior can be implemented with smaller effort? I would be willing to contribute if this aligns well with effect cluster
shard assignment / affinity flexibility - entity-to-entity, workflow-to-entity affinity. That's essential for managing shared stateful resourcesAs far as I can see, at the moment only group affinity is available via
ClusterSchema.ShardGroup annotation, and requires individual runner pre-configurationI would expect smth like this to be possible, where cluster would manage correct
shard id assignment in respect to requested affinity and would take care of failover:Am I missing anything and this type of behavior can be implemented with smaller effort? I would be willing to contribute if this aligns well with effect cluster
