Giter VIP home page Giter VIP logo

mqtt-5-for-3's Introduction

MQTT 5 Features for MQTT 3 Clients

This HiveMQ Extension enables some of the MQTT 5 Features for MQTT 3 Clients.

Features

CleanStart

MQTT 5 allows while connecting to send a CleanStart flag which says that the MQTT Broker should remove the existing session of the client before connecting it. The Client will like the name already suggests then have a fresh session. Combining this flag with the Session Expiry Interval lets the Client have an offline session after disconnecting from the Broker.

MQTT 3 has a similar flag called CleanSession which also lets the Broker remove the existing session. The difference to MQTT 5 however is that after setting this flag there is no way to have an offline session for this Client without reconnecting again with the flag disabled.

How to use

By enabling this Feature in the config of the Extension you can use the CleanSession flag of the older MQTT versions like the MQTT 5 CleanStart flag. This means that the session of the Client will not be removed when this flag is used. By default it will then use the max Session Expiry Interval for the Client which also can be configured.

Requirements

Works with HiveMQ Community Edition 2020.1 and HiveMQ Enterprise 4.2 or newer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.