Details
-
Bug
-
Resolution: Done
-
Major
-
0.6
-
None
Description
Using "initial_only" snapshot mode...
Although the BinlogReader is never added or used, it is still being created. This causes it's MXBean to register (in the object constructor), but it never unregisters because the BinlogReader was never actually added.
Failing to unregister the MXBean causes problems using this bean going forward as it's in a stuck state.
If we then update the connector config to "initial" mode, the MXBean never updates and we get this log message:
WARN Error while register the MBean 'debezium.mysql:type=connector-metrics,context=binlog,server=iready_dbz': debezium.mysql:type=connector-metrics,context=binlog,server=iready_dbz (io.debezium.connector.mysql.BinlogReader:35)
Currently the only workaround is to hard restart the connector task.