-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IShardingMessageAdapter
#7441
Add IShardingMessageAdapter
#7441
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self-review
{ | ||
} | ||
|
||
public object Adapt(object message) => message; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method will be used to transform a message before it is stored inside the buffer.
namespace Akka.Cluster.Sharding; | ||
|
||
[InternalApi] | ||
public class ShardingSetup: Setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This setup class will be used to inject a message adapter into both the ShardRegion
and Shard
actor during initialization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changes
Add
IShardingMessageAdapter
interface toAkka.Cluster.Sharding
to allow tracing data to be preserved when sharding messages are bufferedChecklist
For significant changes, please ensure that the following have been completed (delete if not relevant):