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

MySQL `source` field in change events has binlog position for next event

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.2.2, 0.3
    • 0.2.1
    • mysql-connector
    • None

      The position that we’re recording in the offsets is actually the position of the next event in the binlog. This makes it easy to restart, since the last offset we recorded has the position in the binlog where we’re supposed to start. But we’re also including that position in the `source` field, which IMO is semantically wrong.

      The `source` field should reference the binlog coordinates where that event appeared. See the forum discussion in which everyone agreed that it should be fixed.

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

                Created:
                Updated:
                Resolved: