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

Introduce a signal that allows specifying the start position for a connector

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • Backlog
    • None
    • debezium-core
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Important

      Description

      Currently, the Debezium Oracle connector does not allow users to specify an initial SCN (start_scn) from which the connector should start capturing changes.
      In some scenarios, it is desirable to control the exact starting point:
      • When re-deploying a connector and needing to restart from a known SCN
      • For disaster recovery or replay scenarios
      • When initializing CDC for a subset of data without having to snapshot the whole database

      Other connectors (e.g., Confluent’s Oracle XStream CDC connector) allow setting an SCN during startup in recovery mode. It would be useful if Debezium’s Oracle connector supported a similar configuration option.

      Proposed Solution

      Introduce a new optional configuration property for the Oracle connector, for example: "start.scn": "1234567890"

      If set, the connector should begin streaming changes from the specified SCN, instead of performing an initial snapshot or starting from the latest available SCN.

      Alternatives Considered
      • Using snapshots (not feasible in very large databases)
      • Manually manipulating offset storage (complex and error-prone)

      Benefits
      • More control for administrators during connector setup and recovery
      • Easier rollback/restart in CDC pipelines
      • Consistency with other CDC tools that already support SCN-based starting points

              Unassigned Unassigned
              soringeorgestoica@yahoo.com Sorin Stoica
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: