Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the HiveMQ Cloud, sessions align with concurrent MQTT client sessions. Each active MQTT session connection equals one connectionsession. Each persistent session, active or inactive, also counts as a session. If a device establishes multiple sessions simultaneously (with different client IDs) simultaneouslyusing a different Client ID for each session), each is considered a separate connection. Counts reset to zero monthly.

Example:

  1. Multiple Connections Within the Hourshort-time connections within an hour:

    • 37 devices connecting every hour for a few minutes count as 37 connections.

  2. Combination of Sessionspersistent and non-persistent sessions:

    • 10 devices with persistent sessions (cleanSession flag set to false) + 27 devices connecting hourly = 37 total connections.

...

The "MQTT Client Sessions" count at console.hivemq.cloud reflects the max session count reached in the current month, resetting monthly. It doesn't show active connections but the max count reached.

...