CDC Header Attributes
- oracle.cdc.sequence.oracle - Includes sequence numbers that indicate the order
in which statements were processed within the transaction.This sequence number is generated by Oracle. Use to keep statements in order within a single transaction.Note: When the origin uses local buffering, Oracle provides the default value of
1
for all records, so should not be used to order statements. Use theoracle.cdc.sequence.internal
attribute when using local buffering. - oracle.cdc.sequence.internal - Includes sequence numbers equivalent to those in
the
oracle.cdc.sequence.oracle
attribute, but created by the Oracle CDC Client origin.Like the
oracle.cdc.sequence.oracle
attribute, you can use these values to keep statements in order within a single transaction.Best practice is to use this attribute only when using local buffering, when the
oracle.cdc.sequence.oracle
attribute does not provide the expected data.
- oracle.cdc.operation
- oracle.cdc.precisionTimestamp - Timestamp, to the nanosecond, when the database
change occurred.
Used when the database provides the timestamp in nanoseconds.
- oracle.cdc.query
- oracle.cdc.redoValue
- oracle.cdc.rowId
- oracle.cdc.scn
- oracle.cdc.table
- oracle.cdc.timestamp - Timestamp, to the second, when the change occurred.
Used when the database provides the timestamp in seconds.
- oracle.cdc.undoValue
- oracle.cdc.user
- jdbc.<fieldname>.precision
- jdbc.<fieldname>.scale
You can use the record:attribute
or
record:attributeOrDefault
functions to access the information
in the attributes. For more information about working with record header attributes,
see Working with Header Attributes.