docs: refine change log

This commit is contained in:
zmstone 2024-06-14 13:12:08 +02:00
parent 0f0e7d18db
commit 945ea785ae
1 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
Respcet `clientid_prefix` config for MQTT bridges.
As of version 5.4.1, EMQX limits MQTT Client ID lengths to 23 bytes.
Previously, the system included the `clientid_prefix` in the hash calculation of the original, excessively long Client ID, thereby impacting the resulting shortened ID.
As of version 5.4.1, EMQX limits MQTT client ID lengths to 23 bytes.
Previously, the system included the `clientid_prefix` in the hash calculation of the original unique, but long client ID, thereby impacting the resulting shortened ID.
Change Details:
- Without Prefix: Behavior remains unchanged; EMQX will hash the entire Client ID into a 23-byte space (when longer than 23 bytes).
- Without Prefix: Behavior remains unchanged; EMQX will hash the long (> 23 bytes) client ID into a 23-byte space.
- With Prefix:
- Prefix no more than 19 bytes: The prefix is preserved, and the remaining suffix is hashed into a 4-byte space.
- Prefix is 20 or more bytes: EMQX no longer attempts to shorten the Client ID, respecting the configured prefix in its entirety.
- Prefix no more than 19 bytes: The prefix is preserved, and the client ID is hashed into a 4-byte space capping the length within 23 bytes.
- Prefix is 20 or more bytes: EMQX no longer attempts to shorten the client ID, respecting the configured prefix in its entirety.