For Google Pub Sub and Kafka target, the HWM is stored in a flat file with binary content. You can access and read the file.
To run FileHwmReader from the command line
-
cdto the kernel directory where CDC is installed. -
Set the
CLASSPATHenvironment variable toomni.jar, if not already set. For example,set CLASSPATH=%CLASSPATH%;patch.jar;.;omni.jar; - The format of the command is:
FileHwmReader < HWM filename> <serverId> - Execute the command using Java. For example,
java omnienterprise.HwmReader.FileHwmReader AS04_dot_filetgt_trans_hwm_src3_tgt12_req13_BUR_DD_ML200.file 2where ‘
AS04_dot_filetgt_trans_hwm_src3_tgt12_req13_BUR_DD_ML200.file’ is the HWM file name and the serverId is2from the command above.