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

Paho mqtt v2 support #1119

Merged
merged 16 commits into from
Jul 15, 2024
Merged

Paho mqtt v2 support #1119

merged 16 commits into from
Jul 15, 2024

Conversation

petersilva
Copy link
Contributor

@petersilva petersilva commented Jun 22, 2024

This branch changes the mqtt driver to use version 2.1 of paho-mqtt python client... the current one (released in 2024.)
Previous versions have no way of passing the flakey_broker test, and will fail in other ways because there
it no application control of acknowledgements. The patch I submitted to the paho-mqtt for application acknowledgements was only merged for v2. V2 also brings many api changes, so it's not straight-forward.

The stack, as-is, passes more tests than the old mqtt support did on the old mqtt version, but not yet all tests.
It's still better than what is there, and will probably not come back to it for a while, so better not to have a long running parallel branch.

It will be a good basis for finishing the work later.

This is part of #693 ... it might actually solve flakey... but there might be some timing issues... (false positives, where the results seem ok,. but the test indicates a failure.)

Copy link

github-actions bot commented Jun 22, 2024

Test Results

244 tests   242 ✅  1m 0s ⏱️
  1 suites    1 💤
  1 files      1 ❌

For more details on these failures, see this check.

Results for commit 9738569.

♻️ This comment has been updated with latest results.

@petersilva petersilva marked this pull request as ready for review July 15, 2024 15:11
Copy link
Member

@reidsunderland reidsunderland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed in our meeting

@reidsunderland reidsunderland merged commit 805dc1e into development Jul 15, 2024
44 of 75 checks passed
@petersilva petersilva deleted the paho-mqtt-v2-support branch August 9, 2024 21:26
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

Successfully merging this pull request may close these issues.

None yet

2 participants