Minimal Supplemental Logging for Oracle CDC Source Connector for Confluent Platform

Hi,

We are using log-based Oracle CDC to stream data changes into Apache Kafka. Although minimal supplemental logging and primary key supplemental logging are enabled, and row changes are successfully captured inside the raw Oracle redo log topic, these events are not being propagated or reflected in the destination table-specific Kafka topic.

Environment

  • Source Database: Oracle DB (with ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (PRIMARY KEY) COLUMNS;)
  • CDC Tool: Kafka Connect / Oracle CDC Source Connector [1, 2]

Expected Behavior

When an INSERT, UPDATE, or DELETE statement occurs on the source table, the change data event should populate both the raw redo log topic and the mapped, table-specific Kafka topic. only insert appears in topic but the operations only in redo log .. what is the issue?

hey @rasha

welcome :slight_smile:

would you be so kind and share your connector config?

thanks,

michael

Hi @mmuehlbeyer

According to the Confluent documentation, setting oracle.supplemental.log.level to msl (Minimum Supplemental Logging) restricts the connector to snapshot mode only.

oracle.supplemental.log.level

Database supplemental logging level for connector operation. If set to full, the connector validates the supplemental logging level on the database is FULL and then captures snapshots and CDC events for the specified tables whenever table.topic.name.template is not set to "". When the level is set to msl, the connector doesn’t capture the CDC change events, rather it only captures snapshots if table.topic.name.template is not set to "".

msl: The connector will not capture continuous CDC change events so why we need it ?

Hi @rasha

as said would you please provide your full config?

If I get it right you don’t get the data in the desired topic only in the redo topic right?

Best,

Michael