Striim 3.9.7 documentation

GGTrailParser properties

property

type

default value

notes

Charset Map

java.lang.String

Optionally, override the GoldenGate source character set mapping (see SOURCECHARSET using the syntax <character set 1>,<Java charset 1>;<character set 2>,<Java charset 2>;....

Compression

java.lang.Boolean

False

If set to True, update operations for tables that have primary keys include only the primary key and modified columns, and delete operations include only the primary key. With the default value of False, all columns are included.

Filter Transaction Boundaries

java.lang.Boolean

True

With the default value of True, begin and commit transactions are filtered out. Set to False to include begin and commit transactions.

Metadata

java.lang.String

the path (from root or relative to the .../Striim directory) and name of a GoldenGate source definition file (generated by the GoldenGate defgen utility) containing the metadata description of all the tables for which trail data was captured

Tables

java.lang.String

%

The table(s) to be read. With the default value, all tables will be read. Alternatively, specify one or more table names, separated by semicolons, or a string ending with the % wildcard, such as HR.%.

Trail Byte Order

java.lang.String

BigEndian

Set to LittleEndian if that is the TRAILBYTEORDER of the trail file.

Sample:

create source GGTrailSource using FileReader (
    directory:'Samples',
    wildcard:'rt*',
    positionByEOF:false
) parse using GGTrailParser (
  metadata:'Samples/sample.def'
) OUTPUT TO GGTrailStream;