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
minor #16720 [Messenger] Add doc for default routing for messages (clemherreman)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[Messenger] Add doc for default routing for messages
Hello,
I recently got bit on production after deploying a code change. We created a new `FooMessage` & `FooHandler`, but didn't update the `messenger.yaml` to include routing information.
This caused `FooMessage` to be directly handled by the HTTP process that dispatched the message, instead of the CLI, consumer process of Messenger. This lead to various issues: missing env var in HTTP context, lack of monitoring/stats as we only looks for messages metrics in the `consumer` container, not the `api` one :)
Looking at the code, I discovered you may define a default transport, but couldn't find it in the doc.
Commits
-------
955b393 [Messenger] Add doc for default routing for messages
0 commit comments