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
Why we can't overwrite retryPolicy in broker.call ? Retrying is purely caller side mechanism (or isn't?)
Why retryPolicy must be definied on receiver side (either in broker or as service/action options), is it broadcasted to other connected nodes, so potential callers know how to retry action call? If so, how check: err => err && !!err.retryable retryPolicy-sub-option is broadcasted? It's function, not primitive value.
Does retryPolicy.check test are neccessary to pass for Error to retry call?
Also:
Does action.call and response to it (with redis transport) are sent via redis pub/sub?
Does events are sent via redis pub/sub also? In case of using redis as transport.
When currently there is no specific service for example uploader service in system, because we killed all processes containing them for restarting purpose, what response we will get calling uploader.some action? Always ServiceNotFoundError or there is small room chance for Timeout Error?
This discussion was converted from issue #916 on April 19, 2022 14:18.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need to understand
retryPolicy
, how it works:Why we can't overwrite
retryPolicy
inbroker.call
? Retrying is purely caller side mechanism (or isn't?)Why
retryPolicy
must be definied on receiver side (either inbroker
or asservice/action
options), is it broadcasted to other connected nodes, so potential callers know how to retryaction call
? If so, howcheck: err => err && !!err.retryable
retryPolicy-sub-option is broadcasted? It'sfunction
, notprimitive value
.Does
retryPolicy.check
test are neccessary to pass forError
toretry
call?Also:
Does
action.call
and response to it (withredis
transport) are sent viaredis pub/sub
?Does
events
are sent viaredis pub/sub
also? In case of usingredis as transport
.When currently there is no specific service for example
uploader
service in system, because we killed all processes containing them for restarting purpose, what response we will get callinguploader.some
action? AlwaysServiceNotFoundError
or there is small room chance forTimeout Error
?Beta Was this translation helpful? Give feedback.
All reactions