asynkron / protoactor-go

Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
http://proto.actor
Apache License 2.0
5k stars 518 forks source link

MemberStrategy is not work!!! #1036

Open kofplayer opened 6 months ago

kofplayer commented 6 months ago

I want to use LocalAffinityStrategy feature but it is not available in go version. So I used cluster.WithMemberStrategy to customize the member strategy, but it didn't work. I looked at the source code and found that cluster.Get does not follow the logic of MemberStrategy. Is this a BUG? Or is there any other way for me to achieve the same purpose? I don’t want to modify the source code of protoactor-go.