Skip to content

Conversation

He-Pin
Copy link
Member

@He-Pin He-Pin commented Sep 3, 2025

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 He-Pin requested review from Roiocam and pjfanning September 3, 2025 14:56
@He-Pin He-Pin added the cluster label Sep 3, 2025
@He-Pin He-Pin added this to the 2.0.0-M1 milestone Sep 3, 2025
@pjfanning
Copy link
Member

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

@He-Pin He-Pin modified the milestones: 2.0.0-M1, 2.0.0-M2 Sep 3, 2025
@He-Pin
Copy link
Member Author

He-Pin commented Sep 3, 2025

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

@pjfanning
Copy link
Member

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.

@He-Pin
Copy link
Member Author

He-Pin commented Sep 3, 2025

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

@pjfanning
Copy link
Member

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

That is much more complicated than us providing a ClusterClient.

@He-Pin He-Pin removed this from the 2.0.0-M2 milestone Sep 3, 2025
Copy link
Member

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to get the Pekko team's opinion on #2080 and whether this is better to keep for ease of use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants