Skip to content

Commit

Permalink
Merge pull request #77 from nedimtokic/astarte-sdk-csharp-message-que…
Browse files Browse the repository at this point in the history
…ue-order

Order stored messages
  • Loading branch information
harlem88 authored Jul 19, 2024
2 parents d385856 + 3c65c4f commit d44adf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public override async Task Connect()
.WithAutoReconnectDelay(TimeSpan.FromSeconds(5))
.WithMaxPendingMessages(10000)
.WithPendingMessagesOverflowStrategy(
MQTTnet.Server.MqttPendingMessagesOverflowStrategy.DropOldestQueuedMessage)
MQTTnet.Server.MqttPendingMessagesOverflowStrategy.DropNewMessage)
.Build();

if (!_client.IsStarted)
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add a fallout strategy for individual failed messages.
- Resend failed messages stored in the cache memory.

### Fixed
- Resend stored messages in the order in which they were streamed
by the user

## [0.6.0] - 2023-12-18
### Added
- Add the capability to update the introspection dynamically.
Expand Down

0 comments on commit d44adf6

Please sign in to comment.