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

Debezium ibmi connector performs initial snapshot after every connector restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.0.0.Final
    • ibmi-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:

      Whenever our deployed IBMi Connectors are running snapshot mode "initial" and are restarted they reload the complete table again. 

      What Debezium connector do you use and what version?

      3.0.Final

      What is the connector configuration?

       

      {
        "name": "ibmi-connector",
        "config": {
          "connector.class": "io.debezium.connector.db2as400.As400RpcConnector",
          "tasks.max": "1",
          "key.converter": "io.confluent.connect.avro.AvroConverter",
          "value.converter": "io.confluent.connect.avro.AvroConverter",
          "transforms": "unwrap",
          "transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState",
          "transforms.unwrap.delete.handling.mode": "drop",
          "transforms.unwrap.drop.tombstones": "false",
          "topic.prefix": "ibmi.temp.cdc",
          "database.hostname": "IBMI",
          "database.user": "user",
          "database.password": "password",
          "database.schema": "LIBRARY",
          "event.processing.failure.handling.mode": "warn",
          "table.include.list": "LIBRARY.TABLE",
          "topic.creation.default.partitions": "12",
          "schema.history.internal.history.kafka.topic": "ibmi.temp.cdc.LIBRARY.TABLE.history",
          "max.retries": "30",
          "retry.backoff.ms": "10000",
          "topic.creation.default.delete.retention.ms": "97300602000",
          "keep alive": "true",
          "topic.creation.default.replication.factor": "3",
          "database.dbname": "IBMI",
          "topic.creation.default.cleanup.policy": "delete",
          "schema.history.internal.kafka.bootstrap.servers": "my.kafka.broker:9092",
          "topic.creation.default.retention.ms": "97300602000",
          "database.port": "8471",
          "value.converter.schema.registry.url": "http://schema-registry.my.host.org",
          "database.secure": "false",
          "key.converter.schema.registry.url": "http://schema-registry.my.host.org",
          "snapshot.mode": "initial",
          "field.name.adjustment.mode": "avro"
        }
      } 

       

       

      What is the captured database version and mode of deployment?

      7.4, on-premise

      What behavior do you expect?

      No initial snapshot after a connector restart.

      What behavior do you see?

      Initial snapshot after every connector restart.

      Do you see the same behaviour using the latest released Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      Yes.

      Do you have the connector logs, ideally from start till finish?

      (You might be asked later to provide DEBUG/TRACE level log)

      Not yet.

      How to reproduce the issue using our tutorial deployment?

      Just restart the connector using REST API or Confluent Control Center.

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      <Your answer>

      Implementation ideas (optional)

      <Your answer>

              Unassigned Unassigned
              roman.kaufmann.at@gmail.com Roman Kaufmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: