Automatically retry the subscription of pulsar consumers when it fails
Currently, we have to use the delay.sh
script to add a 30 seconds delay before running the command and event handlers.
After merging this branch, the consumers will automatically retry to subscribe to a topic if it failed (after waiting for a few seconds). The number of max retries and sleeping time are configurable.