Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-402

Binlog Reader is registering MXBean when using "initial_only" snapshot mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.6.1
    • 0.6
    • mysql-connector
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pgoransson@cainc.com Peter Goransson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: