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

Connect CDC Getting Started Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
6.x
Language
English
Product name
Connect CDC
Title
Connect CDC Getting Started Guide
Copyright
2024
First publish date
2003
Last updated
2024-10-15
Published on
2024-10-15T20:38:41.117981

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.