Closed vttranlina closed 2 months ago
Ignore the dispatch event via Redis in this failure time.
I would like this to be configurable please
How about configuring it in the redis.properties
or queue.properties
something like event.bus.keys.failure.ignore=true
? And ignore the error directly in the EventBus.
If we catch and handle the error in the higher layer e.g. JMAP for example, I think it is harder to track all places where we are calling the dispatch.
I would like this to be configurable please
The default value is yes
?
event.bus.keys.failure.ignore=true
Yes precisely what I have in mind. IMO in redis.properties
.
The default value is yes?
Until we are really sure we want this by default, then keep false as a default value please.
Why
When setting
event.bus.keys.choice=redis
inqueue.properties
file. If Redis is down, the methodEmail/set + EmailSubmission/set
is waiting response for a long timeIt is not good for the client Ref https://github.com/linagora/tmail-backend/issues/1013
How
jmap.properties
Dod