-
Notifications
You must be signed in to change notification settings - Fork 7
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
Implement Managed Client MQTTnet extension #70
Merged
harlem88
merged 6 commits into
astarte-platform:master
from
osmanhadzic:astarte-packet-id
Apr 26, 2024
Merged
Implement Managed Client MQTTnet extension #70
harlem88
merged 6 commits into
astarte-platform:master
from
osmanhadzic:astarte-packet-id
Apr 26, 2024
Conversation
This file contains 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
Add new column Guid. Column Guid is used for storing message IDs. Message ID is the unique identification for every successful send message to the MQTT broker. Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
3bd01b0
to
03fae2e
Compare
harlem88
requested changes
Apr 23, 2024
f732c07
to
bcb1c52
Compare
337063c
to
3b3f8dc
Compare
nedimtokic
suggested changes
Apr 24, 2024
3b3f8dc
to
3bb859e
Compare
nedimtokic
approved these changes
Apr 24, 2024
harlem88
reviewed
Apr 24, 2024
In some commits message you write |
Refactor `Connect` method in `AstarteMqttTransport`. Refactor fallback strategy to implement ManagedClient storage. Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
Refactor method `Disconnect` in `AstarteDevice` to async `Disconnect` Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
Refactor method for `StreamData` for individual and aggregate data to `Astarte` Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
Update methods calls `StreamData` for individual and aggregate object data Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
9e0dbe2
to
5bbbcc1
Compare
harlem88
approved these changes
Apr 26, 2024
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.
Implement extension Managed Client for MQTTNet library.
Managed Client extension implement package id, strategy for fallout messages sent to MQTT broker.
Added column guid in AstarteFailedMessages table, column is type Guid and represent messageId
Refactor strategy for fallback messages.
Remove method
HandlePropertiesFailedPublish
and implement interfaceIManagedMqttClientStorage
.Refactor method for
Connect
,Disconnect
andDoSendMqttMessage
to broker with methods from Managed Client.Refactor methods to async methods:
Disconnect
StreamData
for individual and aggregate messagesAdapt Unit and E2E tests.
Adapt SDK example.