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

MySQL connector's `ts_sec` is set incorrectly

XMLWordPrintable

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

      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.)

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

                Created:
                Updated:
                Resolved: