US 12,153,597 B1
Multiple subscriber data extraction for a change data capture (CDC)
Florian Maier, Heidelberg (DE); Daniel Bos, Beijing (CN); Peter Schoenau, Untergruppenbach (DE); and Tobias Karpstein, Eschelbronn (DE)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Jul. 14, 2023, as Appl. No. 18/221,978.
Int. Cl. G06F 16/25 (2019.01); G06F 16/23 (2019.01)
CPC G06F 16/254 (2019.01) [G06F 16/2379 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for accessing a semantic change data capture (CDC), comprising:
receiving, by at least one computer processor at a middleware system, a request for changes made to a source system from a consumer at a target system, wherein changes to the source system are stored in an enhanced data table in the middleware system, and the middleware system is communicatively coupled to the source system and the target system;
in response to receiving the request, determining a high watermark stored in a consumer registration table based on the consumer, wherein the high watermark is a timestamp calculated according to a clock of the middleware system and is specific to the consumer;
in response to receiving the request, determining a set of open transactions on the enhanced data table, wherein the set of open transactions represent uncommitted changes to the enhanced data table;
determining a set of changes made to the source system that are relevant to the consumer at the target system based on the high watermark and the set of open transactions;
transmitting the set of changes to the consumer at the target system;
receiving a confirmation from the consumer at the target system that the set of changes were committed to the target system; and
updating the high watermark in the consumer registration table based on the confirmation.