User-Supplied Metadata Streaming
Oracle NoSQL Database supports annotating row data changes with additional user-supplied 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 user-supplied 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-Supplied Metadata, in Developers Guide, for in-depth information on using user-supplied metadata.