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

Keep SnapshotReaderMetrics bean registered after snapshot completed

    XMLWordPrintable

    Details

      Description

      There are certain metrics that we want to retrieve after the snapshot has completed. However, the SnapshotReaderMetrics bean is immediately unregistered when the snapshot completes.

      Because of this, we have found it is unreliable to retrieve certain valuable metrics that are only available at the the end of the snapshot. Such as getSnapshotCompleted(), getSnapshotDurationInSeconds(), getSnapshotAborted() etc.

      Sometimes the snapshot completes so quickly that we are unable to connect to the bean at all while it is still up.

      Solution: After the initial snapshot, the SnapshotReader MX bean should remain registered until the next connector restart.

        Attachments

          Activity

            People

            Assignee:
            pgoransson Peter Goransson
            Reporter:
            pgoransson Peter Goransson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: