pekko icon indicating copy to clipboard operation
pekko copied to clipboard

chore: Drop the deprecated Cluster Client

Open He-Pin opened this issue 6 months ago • 5 comments

Motivation: The Cluster client is deprecated since Akka 2.6.0 and suggests using Pekko Grpc instead.

Modification:

Delete Cluster client code and doc.

Result: Clean code.

He-Pin avatar Sep 03 '25 14:09 He-Pin

I'm not 100% in favour of this. pekko-grpc is pretty complicated to use - this class is somewhat easier to use.

pjfanning avatar Sep 03 '25 15:09 pjfanning

But seems this will not provide more function than it is now, but with grpc, a user can easy to write an Cluster endpoint.

He-Pin avatar Sep 03 '25 15:09 He-Pin

Unless we can document how users are meant to use pekko-grpc in detail, I would favour not deleting this code - even possibly undeprecating it.

pjfanning avatar Sep 03 '25 16:09 pjfanning

Just a gRPC server which receive the message and then forwarding to the cluster:)

He-Pin avatar Sep 03 '25 16:09 He-Pin

Just a gRPC server which receive the message and then forwarding to the cluster:)

That is much more complicated than us providing a ClusterClient.

pjfanning avatar Sep 03 '25 16:09 pjfanning