Giter Club home page Giter Club logo

Comments (5)

thalesmg avatar thalesmg commented on May 24, 2024 1

If you don't want clients to have sessions, you may set clean_start = true and Session-Expiry-Interval to 0, when using MQTT protocol v5, or just clean start = true when using older MQTT protocols:

https://docs.emqx.com/en/enterprise/v5.3/deploy/cluster/introduction.html#session-across-nodes

from emqx.

thalesmg avatar thalesmg commented on May 24, 2024

Hi @TxMat .

Do you perhaps mean that you expected "Connections" and "Live Connections" to be the same value? For example, from your screenshots, did you expect the "Connections" field in the dashboard overview to display 5?

from emqx.

TxMat avatar TxMat commented on May 24, 2024

Hi,

In a way yes, but I am a bit confused on what to expect because 2 of the core nodes were also connected to the Load Balancer and didn't suffer the same bug (or feature ?). Also the fact that sometimes the "connection" value decrements on a client disconnect and sometimes not is adding to the confusion

from emqx.

thalesmg avatar thalesmg commented on May 24, 2024

"All Connections" in the dashboard include also persistent sessions (i.e., clean start = false), even if the clients are disconnected.

Does "Live Connection" match what you expect?

from emqx.

TxMat avatar TxMat commented on May 24, 2024

Oh okay thanks for the clarification, in that case how should I handle disconnection for the client to be "removed" from the persistent session ? I thought that not making a clean start resumes the current session if they were one or creates a new one if none was found.

Yes the live connection value is working as expected.

from emqx.

Related Issues (20)

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.