Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need to retry if MQTT discovery fails. #4

Open
amrc-benmorrow opened this issue May 9, 2023 · 0 comments
Open

We need to retry if MQTT discovery fails. #4

amrc-benmorrow opened this issue May 9, 2023 · 0 comments

Comments

@amrc-benmorrow
Copy link
Contributor

Sometimes on initial deployment an MQTT client attempts to connect before the MQTT server has registered itself with the Directory. Currently this results in mqtt_client returning null, which usually results in an application crash.

We need to consider the desired behaviour here: either the client should retry, in which case the library needs to handle this, or the client should crash, in which case the library needs to do that. For some reason K8s doesn't always seem to be restarting pods that fail for this reason; possibly I'm just being impatient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant