CDC 采集开发

这个提交包含在:
apple
2026-11-24 11:49:18 +08:00
父节点 fb47c07f7c
当前提交 c252f40172
共修改 174 个文件,包含 5046 行新增和 10 行删除
@@ -0,0 +1,15 @@
# For DMHS releases supporting per-operation JSON_FORMAT_INS/UPD/DEL templates.
# Check against the installed DMHS release before use. Exactly one source table per topic.
# Enable complete before/after images at the source; do not deploy a partial-update stream.
BATCH_COMMIT = 1
NEED_CRLF = 0
SET_NULL = 1
SET_QUOTA = 0
NEW_VALUES = ALL
SET_ROWID_COL = 0
LOB_PIECE = 0
CLOB_FORMAT = CHAR
CHAR_REPLACE =(",\"),(\,\\)
JSON_FORMAT_INS = {"table":"#SCHEMA.#TABLE","op_type":"I","before":null,"after":{#NEW_VALUES}}
JSON_FORMAT_UPD = {"table":"#SCHEMA.#TABLE","op_type":"U","before":{#OLD_VALUES},"after":{#NEW_VALUES}}
JSON_FORMAT_DEL = {"table":"#SCHEMA.#TABLE","op_type":"D","before":{#OLD_VALUES},"after":null}
@@ -0,0 +1,47 @@
# Merge into the operator-managed Integration configuration (for example its Nacos YAML).
# Disabled examples only. Do not put passwords here; use the existing managed secretRef.
datagov:
realtime-relays:
channels:
dm-orders:
enabled: false
name: 达梦订单 DMHS
org-id: 0
source-id: 0
schema: APP
table: ORDERS
bootstrap-servers: kafka.example.invalid:9092
topic: dm.app.orders
format: ogg_json
security-protocol: SASL_SSL
mechanism: SCRAM-SHA-256
username: cdc_consumer
secret-ref: secret:cdc/kafka-consumer
kingbase-orders:
enabled: false
name: 金仓订单 FlySync
org-id: 0
source-id: 0
schema: public
table: orders
bootstrap-servers: kafka.example.invalid:9092
topic: kingbase.public.orders
format: ogg_json
security-protocol: SASL_SSL
mechanism: SCRAM-SHA-256
username: cdc_consumer
secret-ref: secret:cdc/kafka-consumer
oracle-pdb-orders:
enabled: false
name: Oracle PDB 订单 Debezium
org-id: 0
source-id: 0
schema: APP
table: ORDERS
bootstrap-servers: kafka.example.invalid:9092
topic: oracle.APP.ORDERS
format: debezium_json
security-protocol: SASL_SSL
mechanism: SCRAM-SHA-256
username: cdc_consumer
secret-ref: secret:cdc/kafka-consumer