You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "sin70611 (via GitHub)" <gi...@apache.org> on 2025/02/18 07:54:09 UTC

[I] [Bug] [Oracle CDC to Kafka] table column with default value, if the insert column is null, the result to kafka is the default value but not null [seatunnel]

sin70611 opened a new issue, #8759:
URL: https://github.com/apache/seatunnel/issues/8759

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   I synchronized multitable from Oracle  to Kafka, One table has a column with default value 'N'. and I find that a record inserted into the table with value 'null', but the CDC to Kafka column value is 'N';
   
   ### SeaTunnel Version
   
   2.3.8
   
   ### SeaTunnel Config
   
   ```conf
   Hybrid Mode Cluster
   ```
   
   ### Running Command
   
   ```shell
   {
       "sink" : [
           {
               "format" : "compatible_debezium_json",
               "topic" : "${table_name}",
               "bootstrap.servers" : "xx.xx.xx.xx:9092",
               "source_table_name" : "t1",
               "kafka.request.timeout.ms" : 6000,
               "semantics" : "AT_LEAST_ONCE",
               "plugin_name" : "kafka",
               "kafka.config" : {
                   "request.timeout.ms" : 6000,
                   "acks" : "all",
                   "buffer.memory" : 33554432
               }
           }
       ],
       "source" : [
           {
               "base-url" : "jdbc:oracle:thin:@xx.xx.xx.xx:1521:xx",
               "startup.mode" : "latest",
               "debezium" : {
                   "key.converter.schemas.enable" : false,
                   "value.converter.schemas.enable" : false,
                   "database.server.name" : "XXX",
                   "include.schema.changes" : true
               },
               "table-names" : [
                   "AAA.BBB.CCC"
               ],
               "format" : "compatible_debezium_json",
               "result_table_name" : "t1",
               "database-names" : [
                   "AAA"
               ],
               "schema-names" : [
                   "BBB"
               ],
               "plugin_name" : "Oracle-CDC",
               "skip_analyze" : true,
               "password" : "XXX",
               "source.reader.close.timeout" : 120000,
               "username" : "XXX"
           }
       ],
       "env" : {
           "job.mode" : "STREAMING",
           "job.name" : "XXX",
           "read_limit.bytes_per_second" : 7000000,
           "parallelism" : 1,
           "read_limit.rows_per_second" : 400,
           "checkpoint.interval" : 5000
       }
   }
   ```
   
   ### Error Exception
   
   ```log
   it run normal with no error information
   ```
   
   ### Zeta or Flink or Spark Version
   
   zeta
   
   ### Java or Scala Version
   
   11
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [Oracle CDC to Kafka] table column with default value, if the insert column is null, the result to kafka is the default value but not null [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8759: [Bug] [Oracle CDC to Kafka] table column with default value, if the insert column is null, the result to kafka is the default value but not null
URL: https://github.com/apache/seatunnel/issues/8759


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [Oracle CDC to Kafka] table column with default value, if the insert column is null, the result to kafka is the default value but not null [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8759:
URL: https://github.com/apache/seatunnel/issues/8759#issuecomment-2741951651

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [Oracle CDC to Kafka] table column with default value, if the insert column is null, the result to kafka is the default value but not null [seatunnel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8759:
URL: https://github.com/apache/seatunnel/issues/8759#issuecomment-3064419722

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org