The OJAI changelog interfaces are used to consume changed data records (propagated by the Change Data Capture feature).
The general CDC flow of understanding architectural concepts, performing administrative tasks to set up and use CDC, performing CRUD operatons on a database table, and developing applications for consuming CDC changed data records. This diagram provides hotspot links to help you navigate to the applicable documentation.
See the following Java documentation for detailed information about CDC APIs.
value.deserializer configuration parameter to
com.mapr.db.cdc.ChangeDataRecordDeserializer. poll() is
not deserialized. The record key is not equal to the _id field of the
document. If you want to retrieve the exact _id of the document, you must
call the ChangeDataRecord.getId() method.The following OJAI interfaces and enumerations create consumers for CDC changed data.
The MapR CDC Open Format feature allows you to create applications in languages other then Java that consume CDC (Change Data Capture) changed data records. For example, C/C++, Python, and C#/.NET) are supported.
This functionality is provided with an open format decoder/serializer in the HPE Ezmeral Data Fabric Event Store C library. The decoder translates the MapR internal format to the open data format, decodes/deserializes the data, and returns the value of the changed data record as a human readable JSON string.
All languages that are binding through the HPE Ezmeral Data Fabric Event Store C library can retrieve the open data format and, with a simple JSON parser, consume changed data records.