License expiration metric returns faulty value
Expected behavior
The metric com.hivemq.license.days-till-expire
is expected to show the number of days for which the loaded license will remain valid.
Observed behavior
In affected versions, the metric will return the value -1
one hour after the broker has started and continue to return this erroneous value thereafter.
Affected Version
HiveMQ 4.11.0
HiveMQ 4.12.0
Solution / Workaround
Upgrade HiveMQ to a version released after 4.12.0. Later version are no longer affected.