Serialization of kafka metrics failed - Message size to large
Known bug, Fixed with 4.5.5. Please upgade to this version or later to solve the issue.
Observation
The following warning is seen in HiveMQ logs:
WARN - Serialization of kafka metrics failed:
java.lang.IllegalArgumentException: Message size to large. Maximum allowed: 5242880 | Received: 5710237
Consequence
Impact: Low (Cosmetic)
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.
Ā