[CIT-122] MQTT Client#7
Closed
didier-wenzek wants to merge 83 commits intothin-edge:mainfrom
didier-wenzek:feature/CIT-122/MQTT-Client
Closed
[CIT-122] MQTT Client#7didier-wenzek wants to merge 83 commits intothin-edge:mainfrom didier-wenzek:feature/CIT-122/MQTT-Client
didier-wenzek wants to merge 83 commits intothin-edge:mainfrom
didier-wenzek:feature/CIT-122/MQTT-Client
Conversation
Signed-off-by: Pradeep K J <pradeekumar.kj@softwareag.com>
[CIT-95] Build and Test script for developer
* Ease reading * Manage parallel asynchronous pub and sub * Test proper MQTT disconnection
Use `test.mosquitto.org`
Removing the need for `tokio-compat`.
…er-wenzek/thin-edge into feature/CIT-122/MQTT-Client
|
|
||
| let commands = mqtt.subscribe(c8y_cmd.filter()).await?; | ||
| let c8y_errors = mqtt.subscribe(c8y_err.filter()).await?; | ||
| let errors = mqtt.subscribe_errors(); |
Contributor
There was a problem hiding this comment.
Is subscribe_errors() a blocking call?
Contributor
Author
There was a problem hiding this comment.
No, this is not a blocking call. Just a wrapper around a channel clone.
Contributor
|
I think I'd be happy to approve this PR once the extra files and build are sorted out. |
Contributor
Author
|
This PR have been override by thin-edge/pull/11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A library to build MQTT client.
rumqttcadding an abstraction to theEventLoopobject.Two examples are provided:
examples/temperature_publisher.rsexamples/simple_mapper.rs