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

Null value for Oracle BLOB columns in Kafka messages during insert DMLs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 2.7.0.Final
    • oracle-connector
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical

      null value for oracle bolb columns in kafka messages for oracle debezium source connector, during  insert dmls on the oracle database

      Bug report

      null value for oracle bolb columns in kafka messages for oracle debezium source connector, during  insert dmls on the oracle database

      What Debezium connector do you use and what version?

      {   "class": "io.debezium.connector.oracle.OracleConnector",   "type": "source",   "version": "2.7.0.Final" }

      What is the connector configuration?

      curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" \
        nn.nn.nn.nnn:8083/connectors/ \
        -d '{
        "name": "cdcdemocn",
        "config":

      {     "connector.class": "io.debezium.connector.oracle.OracleConnector",     "tasks.max": "1",     "database.hostname": "dbhostname",     "database.port": "1521",     "database.user": "c##commonuser",     "database.password": "xxxxxxxxxxx",     "database.dbname": "cdbname",     "database.pdb.name": "pdbname",     "topic.prefix": "cdcdemotopic",     "topic.delimiter": "2",     "database.connection.adapter": "logminer",     "log.mining.strategy": "online_catalog",     "archive.destination.name": "LOG_ARCHIVE_DEST_1",     "log.enabled": true,     "schema.include.list": "schemaname",     "table.include.list": "schemaname.tab1,dbaname.tab2",     "message.key.columns": "schename.tab1:col1,col2;schemaname.tab2:col1,col2,col3",     "schema.history.internal.kafka.bootstrap.servers": "nn.nn.nn.nnn:9092",     "schema.history.internal.kafka.topic": "schema-changes",     "schema.history.internal.store.only.captured.tables.ddl": true,     "schema.history.internal.store.only.captured.databases.ddl": true,     "snapshot.mode":"no_data",     "topic.creation.default.partitions": 3,     "topic.creation.default.replication.factor": 3,     "topic.creation.default.compression.type": "lz4",     "datatype.propagate.source.type": "schemaname.tablname.blobcolumnname",     "key.converter": "org.apache.kafka.connect.json.JsonConverter",     "value.converter": "org.apache.kafka.connect.json.JsonConverter",     "debezium.source.lob.enabled": "true",     "binary.handling.mode": "bytes",     "key.converter.schemas.enable": "false",     "value.converter.schemas.enable": "false"   }

      }'
      exit

      What is the captured database version and mode of deployment?

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

      on-premises oracle 19c

      What behavior do you expect?

      blob column data in bytes

      What behavior do you see?

      null value during inserts some byte data during updates

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

      currently using latest version of  

      {   "class": "io.debezium.connector.oracle.OracleConnector",   "type": "source",   "version": "2.7.0.Final" }

      <Your answer>

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

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

      <Your answer>

      How to reproduce the issue using our tutorial deployment?

      1. create a table with Blob column in oracle in pluggable database.

      2. create the source connector with above configuration details

      3. run insert statements with some blob data on the source oracle table.

      4. check the resulting kafka messages for connector that was created in step2

      the message payload contains null data for the blob columns

      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>

              vjuranek@redhat.com Vojtech Juranek
              raghuram.srikanti RAGHURAM SRIKANTI (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: