Skip to content

TBMQ 2.4.0 Release

Choose a tag to compare

@dmytro-landiak dmytro-landiak released this 27 Aug 16:25
· 255 commits to main since this release

Minor release with the following features, infrastructure upgrades, improvements, and bug fixes.

Breaking changes:

Several Prometheus metrics and metric tags were renamed in #342 and #343. Update your queries, recording rules, alerts, and dashboards before upgrading:

  • sqlQueue_<QueueName>_total{...} becomes sqlQueue_total{queueName="<QueueName>", ...} — the queue name moved out of the metric name and into a bounded queueName tag, so queues can be selected and aggregated together. The queue depth gauge changes the same way, to sqlQueue_queueSize{queueName="<QueueName>", ...}.
  • producer_seconds*{producerId} becomes kafkaProducer_send_seconds*{producerId} — Kafka send latency.
  • consumer_seconds*{consumerId, operation="syncCommit"} becomes kafkaConsumer_commit_seconds*{consumerId} — Kafka commit latency. The operation tag was always syncCommit and has been dropped, so remove it from label matchers.
  • clientSubscriptionsConsumer keeps its name, but its statsName tag values change: totalSubscriptions becomes totalRecords, acceptedSubscriptions becomes acceptedRecords, and ignoredSubscriptions becomes ignoredRecords. These counters advance per Kafka record consumed from the client subscriptions topic, not per subscription.
  • The clientSubscriptions gauge becomes subscriptions, and its meaning changes with it: it now reports the total number of subscriptions across all clients, where it previously reported the number of clients holding at least one subscription. The new value is greater than or equal to the old one whenever a client holds more than one subscription, and it matches the subscriptions chart in the UI. The value is cluster-wide, so read it from a single node or use max rather than summing across nodes.

The msgDownlink counter and the processedBytes historical key were also removed. Neither ever produced data, so neither needs a dashboard change.

Main features:

Infrastructure upgrades:

Improvements:

Bug fixes:

  • Core:
    • #314 Keep client-initiated DISCONNECT in FIFO order with pending PUBLISH by @dmytro-landiak;
    • #329 Fix device shared subscription delivery for cross-node subscribers by @dmytro-landiak;
    • #328 Enforce APPLICATION QoS 1 retry cap, set DUP on retransmit, reduce ack WARN noise, and add give-up observability by @dmytro-landiak;
    • #325 Decrement nonWritableClientsCount on session disconnect by @dmytro-landiak;
    • #326 Do not close PROXY protocol LOCAL connections used by health checks by @dmytro-landiak;
    • #327 Release HAProxyMessage in ProxyIpAddressHandler by @dmytro-landiak;
    • #332 Apply TLS and username to Redis/Valkey Sentinel client configuration by @dmytro-landiak;
    • #337 Return per-filter UNSUBACK reason codes by @dmytro-landiak;
    • #339 Correct SUBACK reason codes for persist failures and invalid topic filters by @dmytro-landiak;
    • #355 Apply a changed rate limit configuration to an existing bucket by @dmytro-landiak;
    • #353 Fix lifecycle events topic provisioning and cleanup, and uplink event ordering by @dmytro-landiak;
    • #335 Deregister application processor per-client meters on clear to stop a registry leak by @dmytro-landiak;
    • #336 Deregister integration processor meters on clear to stop a registry leak by @dmytro-landiak;
    • #338 Counter accuracy fixes for subscription, retained, and flow control metrics by @dmytro-landiak;
    • #340 NaN guards, SQL queue depth gauge, and removal of the dead queueSize log field by @dmytro-landiak;
    • #341 Measure delivery on write completion and actor processing in nanoseconds by @dmytro-landiak;
    • #343 Consistent subscriptions gauge, removal of the dead processedBytes key, and rolling upgrade guard by @dmytro-landiak.
  • UI:

Security:

Full changelog: v2.3.0...v2.4.0