dotnet / dotnet/MQTTnet

Load Balancing With Shared Subscriptions - MQTT Client

Open
#821 11 comments 18 reactions 0 assignees View on GitHub
feature-request
Dominant language
C#
Stars
5.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Dear Developers and founders of MQTTnet project!

First of all, let me express my personal apprisiation to you guys! This project has an extreamly high impact on our dependent projects we workin on. This one is the one of best toys we ever used in our Message Queueing world. Extreamly relieble, easy to use, and easy to embed!

Everything is perfect but one of the fetures of MQTT v5 would be great to have at the Client/ManagedClient supported by Server.

The fearure we really need is called - Load Balancing With Shared Subscriptions intoduced by The HiveMQ Team.
https://www.hivemq.com/blog/mqtt-client-load-balancing-with-shared-subscriptions/

We can cover some functionaly of this by dedicated Client Subscriptions and publishing to dedicated Topics, or use Application Message Interseptor on Server side, but those methods are not very ellegant and eating some extra machine resources.

In our projects we have a requirement to implement multy-threded Client. 10 objects Subscribe to single shared topic. Expected behavior just like JMS Queue, which delivers the first message in the queue to just one session, the second message in the queue to the most Idle session and so on (load balanser).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.