Fixes https://emqx.atlassian.net/browse/EMQX-10228 This is a cosmetic fix for the Pulsar Producer bridge health check status. Pulsar connection process is asynchronous, therefore, when a bridge of this type is created or updated (which is the same as stopping and re-creating it), the immediate status will be connecting because it’s indeed still connecting. The bridge will connect very soon afterwards (assuming there are no true network/config issue), but having to refresh the UI to see the new status and/or seeing the resource alarm might annoy users. This workaround adds a few retries to account for that effect to reduce the probability of seeing the `connecting` state on such happy-paths.
129 B
129 B
Added a small improvement to reduce the chance of seeing the connecting state when creating/updating a Pulsar Producer bridge.