PowerExchange CDC Publisher
- PowerExchange CDC Publisher 1.3
- All Products
Tag
| Description
|
---|---|
<table>
| Defines the table name for table-specific custom patterns or specifies the keyword DEFAULT. Specify the DEFAULT keyword to indicate the custom pattern file or the formatter CDC Publisher should use for tables that are not specified.
|
<formatter>
| If you specify DEFAULT in a <table> tag, you can specify this <formatter> tag. It specifies the default formatter to use when CDC Publisher encounters a table that is not listed in the Custom Pattern Formatter configuration file. The only valid value is AVRO. When AVRO is specified and the table is not found in the list, the results will be written to Kafka in the Avro message format. This option allows some tables to use the Custom Pattern Formatter while other tables use the existing Avro format.
|
<path>
| Specifies the path and name of the file that contains the custom pattern definition for the table specified in the <table> tag or the path of the file that contains the default custom pattern definition.
|
<table>my.table1</table><path>\pwxcdcpub_root_installation\instance\config\my_table1.pattern</path> <table>my.table2</table><path>\pwxcdcpub_root_installation\instance\config\my_table2.pattern</path> <table>DEFAULT</table><path>\pwxcdcpub_root_installation\instance\config\generic.pattern</path>
<table>my.table1</table><path>\pwxcdcpub_root_installation\instance\config\my_table1.pattern</path> <table>my.table2</table><path>\pwxcdcpub_root_installation\instance\config\my_table2.pattern</path> <table>DEFAULT</table><formatter>AVRO</formatter>
Formatter.customPatternFileList=pwxcdcpub_root_installation\instance\config\mytables.list
<table>tableA</table><path>\pwxcdcpub_root_installation\instance\config\tableA.pattern</path> <table>DEFAULT</table><path>\pwxcdcpub_root_installation\instance\config\generic.pattern</path>