Skip to content

TBMQ 2.4.2 Release

Latest

Choose a tag to compare

@dmytro-landiak dmytro-landiak released this 25 Nov 13:37
· 6 commits to main since this release

Patch release with the following security fixes, improvements, and bug fixes.

Behavior changes:

  • With SCRAM as the only enabled authentication provider, TBMQ now refuses clients that send no MQTT 5 Authentication Method, with 0x87 Not authorized (0x05 on MQTT 3.x) (#456). Before, these clients connected without credentials as DEVICE clients with no topic restrictions. Move every client to SCRAM before upgrading.
  • With Send only message payload enabled, the Kafka integration now sends a payload that is not valid UTF-8 as its raw bytes instead of Base64 (#408). Consumers that decode that Base64 must stop. UTF-8 payloads are sent as before.
  • The Kafka integration now always sends record values as bytes, and the JSON body as UTF-8 (#408). A value.serializer in Other properties is now ignored for every Kafka integration, with a warning in the Integration Executor log, and serializer.encoding or value.serializer.encoding no longer changes how the value is encoded. serializer.encoding still applies to the record key.
  • After a successful SCRAM authentication, the CONNACK now carries the server-final message in Authentication Data, so the client can verify the broker (#407).
  • Pooled connections to the HTTP authentication service and to HTTP integration endpoints are now closed after 30 seconds idle and recycled after 5 minutes (#426, #428), so the first request after a quiet period opens a new connection. Tune the pools with the TB_HTTP_AUTH_CLIENT_POOL_* and TB_IE_HTTP_CLIENT_POOL_* environment variables.

Improvements:

  • Core:
    • #409 Replace Kafka's SCRAM SASL server with a TBMQ implementation that accepts usernames containing , or = by @dmytro-landiak;
    • #410 Remove Kafka types from the queue interfaces by @dmytro-landiak.
  • Deployment:
    • #437 Add scripts to stop and start only the TBMQ services of the Docker Compose cluster by @dmytro-landiak;
    • #446 Bump the EKS cluster for Helm to 1.37 and size the Redis node group for standalone Valkey by @dmytro-landiak;
    • #448 Bump the EKS cluster to 1.37, allow TLS 1.3 on the load balancers, and make the two-way TLS blocks uncommentable in the AWS scripts by @dmytro-landiak;
    • #449 Connect the GCP manifests to Managed Kafka and make the two-way TLS blocks uncommentable by @dmytro-landiak;
    • #453 Connect the Azure manifests to Azure Managed Redis and make the two-way TLS blocks uncommentable by @dmytro-landiak.

Bug fixes:

Security:

  • #456 Refuse clients without SCRAM credentials when SCRAM is the only enabled authentication provider by @dmytro-landiak;
  • #473 Bump Guava, lz4-java, snappy-java, org.json and FreeMarker to fix critical, high and medium CVEs in the TBMQ images by @dmytro-landiak.

We welcome our new contributors:

Full changelog: v2.4.1...v2.4.2