You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
Today by the Cloudstate protocol you can emit many side effects (a list of them) but the proxy handles each side effect call individually.
It would be interesting to allow the user role to emit a side effect for all entities registered in each of the Nodes of the cluster of a certain type. That is, to allow a call in Broadcast mode to be possible.
For that I see that we would have to change the SideEffect message to include a boolean flag to indicate this behavior. Something like:
// A side effect to be done after this command is handled.messageSideEffect {
// The name of the service to perform the side effect on.stringservice_name=1;
// The name of the command.stringcommand_name=2;
// The payload of the command.google.protobuf.Anypayload=3;
// Whether this side effect should be performed synchronously, ie, before the reply is eventually// sent, or not.boolsynchronous=4;
// Send side effect to all entities of the given type.boolbroadcast=6;
// The metadata to include with the side effectMetadatametadata=5;
}
``
The text was updated successfully, but these errors were encountered:
Today by the Cloudstate protocol you can emit many side effects (a list of them) but the proxy handles each side effect call individually.
It would be interesting to allow the user role to emit a side effect for all entities registered in each of the Nodes of the cluster of a certain type. That is, to allow a call in Broadcast mode to be possible.
For that I see that we would have to change the SideEffect message to include a boolean flag to indicate this behavior. Something like:
The text was updated successfully, but these errors were encountered: