dotnet / dotnet/MQTTnet

ManagedClient CleanSession=false V4

Open
#1,535 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
5.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

In the managed client V4 when cleansession is set to false and a topic filter is being applied once the client disconnects and reconnects it does not resubscribe to the topic.

I've set cleansession to true and it works as expected.

According to https://github.com/dotnet/MQTTnet/issues/492 and https://github.com/dotnet/MQTTnet/pull/836 this should now be possible in V4.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the managed client V4 scenario with CleanSession=false, a topic filter, and a disconnect followed by reconnect. Compare the behavior with CleanSession=true and review the referenced issue #492 and pull request #836; done means the client resubscribes to the topic after reconnecting.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.