FileHwmReader used to read content of High Water Mark (HWM) file - Connect_CDC - connect_cdc_mimix_share - Latest

Connect CDC Getting Started Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
Latest
Language
English
Product name
Connect CDC
Title
Connect CDC Getting Started Guide
Copyright
2024
First publish date
2003
Last edition
2024-09-11
Last publish date
2024-09-11T13:50:21.429182

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
  1. cd to the kernel directory where CDC is installed.
  2. Set the CLASSPATH environment variable to omni.jar, if not already set. For example,
    set CLASSPATH=%CLASSPATH%;patch.jar;.;omni.jar;
  3. The format of the command is:
    FileHwmReader < HWM filename> <serverId>
  4. 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 is 2 from the command above.