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
-
cd
to the kernel directory where CDC is installed. -
Set the
CLASSPATH
environment 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 2
where ‘
AS04_dot_filetgt_trans_hwm_src3_tgt12_req13_BUR_DD_ML200.file
’ is the HWM file name and the serverId is2
from the command above.