-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I have test only with the following config:
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (PRIMARY KEY, UNIQUE) COLUMNS;
It can not recognize update operation, and insert the record anyway.
I think with primary key, the code should be able to update data. Am I wrong?
My topic config:
kafka-topics.sh --bootstrap-server automq-release-kafka.automq.svc.cluster.local:9092
--command-config /tmp/client.properties
--create --topic ORACLE_TEST.HR.EMPLOYEES
--config automq.table.topic.enable=true
--config automq.table.topic.namespace=automq
--config automq.table.topic.commit.interval.ms=60000
--config automq.table.topic.cdc.field=_cdc.op
--config automq.table.topic.upsert.enable=true
--config automq.table.topic.transform.value.type=flatten_debezium
--config automq.table.topic.convert.value.type=by_schema_id
--config automq.table.topic.id.columns=[EMPLOYEE_ID]
--config automq.table.topic.partition.by='[bucket(FIRST_NAME, 3), month(HIRE_DATE)]'
--partitions 3
--replication-factor 3
Thank you in advance for the help.