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

Oracle connector startup failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.9.3.Final
    • oracle-connector
    • None
    • False
    • None
    • False

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      <1.9.3.final>

      What is the connector configuration?

      <oracle-connector>

      What is the captured database version and mode of depoyment?

      (E.g. on-premises, with a specific cloud provider, etc.)

      <oracle 11g, debezium-server pattern, idea local deploy >

      application.properties :

      debezium.sink.type=kafka
      debezium.sink.kafka.producer.bootstrap.servers=xxx.xxx.x.xxx:9092
      debezium.sink.kafka.producer.key.serializer=org.apache.kafka.common.serialization.StringSerializer
      debezium.sink.kafka.producer.value.serializer=org.apache.kafka.common.serialization.StringSerializer

      debezium.source.connector.class=io.debezium.connector.oracle.OracleConnector
      debezium.source.database.history=io.debezium.relational.history.FileDatabaseHistory
      debezium.source.offset.storage.file.filename=D:/JobUtil/Idea2020.2.3WorkSpace/geome_cdc/debezium/cdc_kafka/offsets.dat
      debezium.source.database.history.file.filename=D:/JobUtil/Idea2020.2.3WorkSpace/geome_cdc/debezium/cdc_kafka/history.dat
      debezium.source.offset.flush.interval.ms=0

      debezium.source.database.server.name=ora193_server01
      debezium.source.database.hostname=xxxx
      debezium.source.database.port=1521
      debezium.source.database.user=cdc
      debezium.source.database.password=xxx
      debezium.source.database.dbname=edw
      debezium.source.schema.include.list=INMON
      debezium.source.table.include.list=INMON.A

      Startup error:
      2022-06-06 18:20:53,279 INFO [io.deb.rel.RelationalSnapshotChangeEventSource] (debezium-oracleconnector-ora193_server01-change-event-source-coordinator) Snapshot step 4 - Determining snapshot offset
      2022-06-06 18:20:53,348 INFO [io.deb.con.ora.log.LogMinerAdapter] (debezium-oracleconnector-ora193_server01-change-event-source-coordinator) Consulting V$TRANSACTION and transaction logs for resolving snapshot offset.
      2022-06-06 18:20:53,992 INFO [io.deb.pip.sou.AbstractSnapshotChangeEventSource] (debezium-oracleconnector-ora193_server01-change-event-source-coordinator) Snapshot - Final stage
      2022-06-06 18:20:53,993 ERROR [io.deb.pip.ErrorHandler] (debezium-oracleconnector-ora193_server01-change-event-source-coordinator) Producer failure: io.debezium.DebeziumException: io.debezium.DebeziumException: Failed to get transaction id for current SCN 655245660
      at io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:85)
      at io.debezium.pipeline.ChangeEventSourceCoordinator.doSnapshot(ChangeEventSourceCoordinator.java:155)
      at io.debezium.pipeline.ChangeEventSourceCoordinator.executeChangeEventSources(ChangeEventSourceCoordinator.java:137)
      at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:109)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: io.debezium.DebeziumException: Failed to get transaction id for current SCN 655245660
      at io.debezium.connector.oracle.logminer.LogMinerAdapter.determineSnapshotOffset(LogMinerAdapter.java:209)
      at io.debezium.connector.oracle.logminer.LogMinerAdapter.determineSnapshotOffset(LogMinerAdapter.java:128)
      at io.debezium.connector.oracle.OracleSnapshotChangeEventSource.determineSnapshotOffset(OracleSnapshotChangeEventSource.java:139)
      at io.debezium.connector.oracle.OracleSnapshotChangeEventSource.determineSnapshotOffset(OracleSnapshotChangeEventSource.java:34)
      at io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(RelationalSnapshotChangeEventSource.java:111)
      at io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:76)
      ... 8 more

              ccranfor@redhat.com Chris Cranford
              ryan-0526 逸南 丁 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: