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
This change is the first in a series of refactors to the subscription
engine. This work is in preparation for adding Actor Subscriptions as
detailed [here](dapr/proposals#78). In order to
implement this new subscription type, the engine needs a hierarchical
reordering of the internal data structures in flow to make adding the
new implementation sane and maintainable.
This first change introduces a new `Postman` interface that is used to
send messages to subscription sinks- HTTP, gRPC or streaming channels.
Actors would be another sink added in future. Shared types have been
moved to a new `pkg/runtime/subscription/todo` package.
Appreciate that there will be further changes made to this code path.
Signed-off-by: joshvanl <[email protected]>
returnfmt.Errorf("RETRY status returned from app while processing pub/sub event %v: %w", msg.CloudEvent[contribpubsub.IDField], rterrors.NewRetriable(nil))
returnfmt.Errorf("unknown status returned from app while processing pub/sub event %v, status: %v, err: %w", msg.CloudEvent[contribpubsub.IDField], resp.GetStatus(), rterrors.NewRetriable(nil))
0 commit comments