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

Refactor: Add domain type for LSN

    XMLWordPrintable

Details

    Description

      We should represent LSNs with its own domain type instead of using Long. This avoids accidental assignments of LSN values to e.g. TX ids and also allows to add specific methods like string rendering and comparison. There's a class LogSequenceNumber in the PG JDBC driver, but I'd prefer to have our own type instead of passing on this one within the Debezium code base.

      Attachments

        Issue Links

          Activity

            People

              jpechane Jiri Pechanec
              gmorling@redhat.com Gunnar Morling
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: