MQTTnet 2.8.0-alpha5

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).

This is a prerelease version of MQTTnet.
There is a newer version of this package available.
See the version list below for details.
Install-Package MQTTnet -Version 2.8.0-alpha5
dotnet add package MQTTnet --version 2.8.0-alpha5
<PackageReference Include="MQTTnet" Version="2.8.0-alpha5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 2.8.0-alpha5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MQTTnet, 2.8.0-alpha5"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
// Install MQTTnet as a Cake Addin
#addin nuget:?package=MQTTnet&version=2.8.0-alpha5&prerelease

// Install MQTTnet as a Cake Tool
#tool nuget:?package=MQTTnet&version=2.8.0-alpha5&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* [Core] Performance optimizations.
* [Core] Due to performance reasons the timestamp of log messages is now in UTC format.
* [Core] Added several packet validations.
* [Core] Log messages now contain the complete source path including parent components.
* [Core] The adapter now has an _Endpoint_ definition as string containing remote IP and port.
* [Client] Received messages are now processed completely in the worker thread without creating new Tasks.
* [Client] Fixed wrong calculation for sending keep alive packets (thanks to @cstichlberger)
* [Client] A clean disconnect (via DisconnectAsync) will no longer throw an exception.
* [ManagedClient] The managed client is moved to a separate nuget package.
* [ManagedClient] Added an own message format with extended properties like ID (BREAKING CHANGE).
* [ManagedClient] Fixed a loading issue of stored application messages (thanks to @JTrotta).
* [Server] Added support for other WebSocket sub protocol formats like mqttv-3.1.1 (thanks to @israellot).
* [Server] The takeover of an existing client sessions is now treated as a _clean_ disconnect of the previous client.
* [Server] The pending messages queue per client is now limited to 250 messages. Overflow strategy and count can be changed via options (thanks to @VladimirAkopyan)
* [Server] Keep alive checking is now suspended while large packages are being received (and thus the client is connected). Keep alive checking continues after a large packet is received completely.
* [Server] Rewritten the _ConnectedClients_ API and added new features for disconnecting and Endpoint information (IP etc.).
* [Server] Added settings for disabling persistent sessions and defining a max pending messages queue size per session.
* [Server] Added a new interceptor which is invoked before a new message is added to the client queue.

NuGet packages (85)

Showing the top 5 NuGet packages that depend on MQTTnet:

Package Downloads
MQTTnet.Extensions.ManagedClient
This is an extension library which provides a managed MQTT client with additional features using MQTTnet.
MQTTnet.AspNetCore
This is a support library to integrate MQTTnet into AspNetCore.
Howell.Net.VillageSystem
Package Description
MQTTnet.Extensions.Rpc
This is an extension library which allows executing synchronous device calls including a response using MQTTnet.
TransbankSDK
This is the .Net SDK for Transbank Integration.

GitHub repositories (9)

Showing the top 5 popular GitHub repositories that depend on MQTTnet:

Repository Stars
ArduPilot/MissionPlanner
Mission Planner Ground Control Station (c# .net)
zhaopeiym/quartzui
基于Quartz.NET3.0的定时任务Web可视化管理。docker打包开箱即用、内置SQLite持久化、语言无关、业务代码零污染、支持 RESTful风格接口、傻瓜式配置
yllibed/Zigbee2MqttAssistant
GUI for Zigbee2Mqtt running in docker and HASS.IO
zhaopeiym/IoTClient
这是一个物联网设备通讯协议实现客户端,将会包括主流PLC通信读取、ModBus协议、Bacnet协议等常用工业通讯协议。本组件终身开源免费,采用最宽松的MIT开源协议,您可以随意修改和商业使用(商业使用请做好评估和测试)。
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.

Version History

Version Downloads Last updated
3.0.15 21,167 2/26/2021
3.0.15-rc2 173 2/19/2021
3.0.15-rc1 559 2/12/2021
3.0.14 21,820 2/2/2021
3.0.14-rc8 243 1/30/2021
3.0.14-rc7 751 1/25/2021
3.0.14-rc6 148 1/23/2021
3.0.14-rc5 1,219 1/2/2021
3.0.14-rc4 462 12/27/2020
3.0.14-rc3 1,075 12/8/2020
3.0.14-rc2 783 11/29/2020
3.0.14-rc1 839 11/17/2020
3.0.13 130,746 10/24/2020
3.0.13-rc2 321 10/15/2020
3.0.13-rc1 7,761 9/19/2020
3.0.12 115,277 8/5/2020
3.0.12-rc2 736 7/26/2020
3.0.12-rc1 4,522 5/31/2020
3.0.11 116,742 5/16/2020
3.0.10 2,937 5/14/2020
3.0.10-rc2 277 5/13/2020
3.0.10-rc1 1,696 5/2/2020
3.0.9 43,166 4/10/2020
3.0.9-rc2 1,143 4/5/2020
3.0.9-rc1 3,995 12/8/2019
3.0.8 334,426 8/19/2019
3.0.7 2,390 8/18/2019
3.0.7-rc2 1,493 8/14/2019
3.0.7-rc1 1,490 8/13/2019
3.0.6 19,632 8/11/2019
3.0.6-beta1 2,150 7/11/2019
3.0.6-alpha1 1,511 7/9/2019
3.0.5 36,205 6/28/2019
3.0.4 2,496 6/27/2019
3.0.3 3,398 6/23/2019
3.0.3-rc3 1,618 6/14/2019
3.0.3-rc2 1,820 6/6/2019
3.0.3-rc1 2,686 5/17/2019
3.0.2 28,600 5/12/2019
3.0.2-rc1 1,451 5/11/2019
3.0.1 2,055 5/11/2019
3.0.0 20,756 5/5/2019
3.0.0-rc3 1,532 5/1/2019
3.0.0-rc2 1,638 4/26/2019
3.0.0-rc1 1,541 4/22/2019
3.0.0-beta1 2,527 4/7/2019
3.0.0-alpha3 1,616 3/24/2019
3.0.0-alpha2 5,563 1/27/2019
3.0.0-alpha1 2,020 12/22/2018
2.8.5 185,843 12/9/2018
2.8.5-rc5 1,708 11/28/2018
2.8.5-rc4 1,639 11/24/2018
2.8.5-rc3 1,749 11/5/2018
2.8.5-rc2 1,521 11/4/2018
2.8.5-rc1 2,010 10/29/2018
2.8.4 46,274 10/6/2018
2.8.4-rc2 1,532 10/4/2018
2.8.4-rc1 1,504 10/4/2018
2.8.3 14,094 10/1/2018
2.8.2 41,003 8/4/2018
2.8.2-rc1 1,678 7/27/2018
2.8.1 9,571 7/8/2018
2.8.1-rc1 1,661 7/7/2018
2.8.0 5,101 7/1/2018
2.8.0-rc6 1,708 6/29/2018
2.8.0-rc5 1,678 6/28/2018
2.8.0-rc4 1,869 6/24/2018
2.8.0-rc3 1,718 6/22/2018
2.8.0-rc2 1,766 6/21/2018
2.8.0-rc1 1,618 6/21/2018
2.8.0-beta1 1,714 6/19/2018
2.8.0-alpha5 2,282 6/6/2018
2.8.0-alpha4 2,110 6/5/2018
2.8.0-alpha3 1,612 6/5/2018
2.8.0-alpha2 1,803 6/4/2018
2.8.0-alpha1 2,575 5/10/2018
2.7.5 44,912 4/28/2018
2.7.5-rc2 1,706 4/25/2018
2.7.5-rc1 1,727 4/24/2018
2.7.4 18,648 4/11/2018
2.7.3 2,848 4/4/2018
2.7.3-rc3 2,744 4/1/2018
2.7.3-rc2 1,713 3/29/2018
2.7.3-rc1 1,665 3/27/2018
2.7.2 3,036 3/26/2018
2.7.1 7,881 3/13/2018
2.7.1-rc1 1,718 2/28/2018
2.7.0 11,849 2/4/2018
2.7.0-rc1 1,906 1/27/2018
2.6.0 4,587 12/18/2017
2.6.0-rc2 1,792 12/7/2017
2.6.0-rc1 1,665 12/4/2017
2.5.3 3,119 11/25/2017
2.5.3-rc1 1,695 11/22/2017
2.5.2 2,416 11/21/2017
2.5.2-rc1 1,619 11/17/2017
2.5.1 2,237 11/11/2017
2.5.0 2,402 11/8/2017
2.4.0 9,064 10/9/2017
2.3.1 2,213 9/28/2017
2.3.0 1,954 9/20/2017
2.2.1 2,097 8/21/2017
2.2.0 2,045 8/17/2017
2.1.5.1 1,827 8/7/2017
2.1.5 1,815 8/5/2017
2.1.4 2,122 7/15/2017
2.1.3 4,633 6/8/2017
2.1.2 2,018 5/5/2017
2.1.1 2,630 4/8/2017
Show less