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

MySQL connector's `ts_sec` is set incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 0.3.4, 0.4
    • 0.3.3
    • mysql-connector
    • None

    Description

      Regarding the ts_sec field in the source field of change events from the MySQL connector, the millisecond value gets divided by 1000 twice, once in BinlogReader, and once in SourceInfo. So the value in the payload is 1000 times smaller than it is supposed to be.

      The division in SourceInfo.setBinlogTimestampSeconds() should be removed.

      (Originally reported by Dennis Persson in the Debezium Users chat room.)

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: