Row metadata Streaming
Note:
This feature has been made available to you on a "preview" basis so that you can get early access and provide feedback. It is intended for demonstration and preliminary use only. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this feature and will not be responsible for any loss, costs, or damages incurred due to the use of this feature.Oracle NoSQL Database supports annotating row data changes with additional row metadata. This information is delivered to subscribers of a change stream. The Streams API enables you to subscribe to changes made to the table, including row metadata, providing a reliable way to monitor changes, track, and audit data modifications. For more information about Streams API, see Using the StreamOperation Class.
- When a new row is inserted, both the row data and the associated metadata are included in the Streams API.
- When an existing row is updated, the updated row data and its metadata are included in the stream. This allows you to track how both the data and metadata are modified over time.
- When a row is deleted, the Streams API includes the metadata that was associated with the deleted row.
- When multiple rows are deleted in a batch, metadata for each deleted row is included in the change stream ensuring consistent and reliable tracking across both single and multi-row delete operations.
Additionally, see Using user-defined row metadata, in Developers Guide, for in-depth information on using row metadata.