Repository navigation
Patch release with the following features, improvements, and bug fixes.
Behavior changes:
MQTT_TOPIC_MAX_SEGMENTS_COUNTnow counts topic segments instead of/delimiters (#368). With the limit set to N, a topic with exactly N slashes was accepted before and is rejected now. If you set this variable, raise it by 1 to keep the previous limit. The default0(no limit) is unaffected.- A Session Expiry Interval sent on an MQTT 5 DISCONNECT is now capped at
MQTT_CLIENT_SESSION_EXPIRY_MAX_EXPIRY_INTERVAL(one week by default), the same limit CONNECT applies (#392). Before, a DISCONNECT could keep a session far longer than the configured maximum. - The YAML-only
queue.kafka.consumer-properties-per-topicsetting was removed (#369). Use the per-streamTB_KAFKA_*_ADDITIONAL_CONSUMER_CONFIGenvironment variables instead. - The MQTT integration now reconnects with exponential backoff, starting at the configured reconnect delay and capped at 60 seconds, instead of retrying at a flat interval (#380).
Main features:
- #366, #367 Core: REST API for publishing MQTT messages by @roger-wang-2026 and @dmytro-landiak;
- #390 Core & UI: Client ID-aware authorization rules by @roger-wang-2026 and @dmytro-landiak;
- #388 Core: Graceful node drain by @roger-wang-2026 and @dmytro-landiak;
- #393 Core & UI: Templated record key and headers for the Kafka integration by @dmytro-landiak.
Improvements:
- Core:
- #380 Upgrade the netty-mqtt client to 4.3.1 by @dmytro-landiak;
- #381 Bring the netty-mqtt client into the repository as a module by @dmytro-landiak;
- #369 Remove the unused per-topic Kafka consumer properties map by @dmytro-landiak.
Bug fixes:
- Core:
- #396 Release the error PUBACK/PUBREC of a failed persist in order by @dmytro-landiak;
- #392 Read the MQTT 5 Session Expiry Interval as unsigned and cap it on DISCONNECT by @dmytro-landiak;
- #373 Discard expired session state on reconnect by @dmytro-landiak;
- #365 Keep the session cache live during the subscriptions init load at startup by @dmytro-landiak;
- #368 Make the topic max-segments limit count segments instead of delimiters by @dmytro-landiak;
- #376 Handle MQTT decoder failures that have no fixed header by @dmytro-landiak;
- #377 Retry the startup marker write on fresh Kafka topics by @dmytro-landiak;
- #378 Use TLS for PEM certificate credentials in the MQTT integration by @dmytro-landiak;
- #387 Stop the integration consumer before the client and keep a pack cut short by a stop uncommitted by @dmytro-landiak;
- #391 Return 400 instead of 500 when the integration executor rejects a configuration by @dmytro-landiak;
- #384 netty-mqtt client: spec-correct topic routing, SUBACK correlation, complete futures, and retransmission defaults by @dmytro-landiak;
- #386 netty-mqtt client: PUBREC for an unknown packet ID and message ID reuse by @dmytro-landiak;
- #394 netty-mqtt client: subscription, delivery, and connection fixes by @dmytro-landiak.
- UI:
Security:
- #397 Bump Tomcat to 10.1.60 and Jackson to 2.21.7 to fix critical and high CVEs in the TBMQ images by @dmytro-landiak.
We welcome our new contributors:
- @roger-wang-2026 made their first contribution in #366.
Full changelog: v2.4.0...v2.4.1