Versions Compared

Key

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

Known bug, Fixed with 4.5.5. Please upgade to this version or later to solve the issue.

Observation

The following warning are is seen in HiveMQ logs:

Code Block
WARN - Serialization of kafka metrics failed:
java.lang.IllegalArgumentException: Message size to large. Maximum allowed: 5242880 | Received: 5710237

Consequence

Impact: Low (Severe, Cosmetic)(E.g. broker cannot accept any additional connection, as there are not file descriptors for network sockets left. This might also impact the ability to write log files or replicate data.)

Kafka Metrics are not displayed in the Control Center. The Broker and Kafka Extension work otherwise as expected. External Monitoring is not affected either.

Cause

This is a known bug where the size of the Kafka metrics increase beyond the set limit of 5 MB, leading to this error.

Solution

The bug is fixed in HiveMQ version 4.5.5. Please upgrade to this version to resolve this issue.