Uni combine ignores singular uni failure mechanism #762
-
Hi. I am trying mutiny, via quarkus (2.4.2) and I have difficulty with properly handling failures when combining Unis, following this guide. https://smallrye.io/smallrye-mutiny/guides/combining-items. I have a list of upstreams, i'd like to have retry and failure handling on each individual upstream/uni (i.e. failure to return an empty set/log, retry, etc). When using the uni for a single upstream I can do the following which works. When subscribed to, if the upstream fails, the uni is retried
But when combining the above uni like this;
The failures per uni are totally ignored. If I make my upstream fail I get the failure right away, from the combined uni. So it would lead to the following questions;
Help would be greatly appreciated. Thanks you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry that was a dumb mistake. It works properly now. |
Beta Was this translation helpful? Give feedback.
Sorry that was a dumb mistake.
missed the
uni =
for setting the onFailureIt works properly now.