PowerExchange CDC Publisher
- PowerExchange CDC Publisher 1.3
- All Products
Formatter.customPatternFileListe=C:\\CDCPUB_Install\\Instance141\\config\\patterns.list Formatter.customPatternDataFile=C:\\CDCPUB_Install\\Instance141\\config\\patternTestData.dat
[ # It has 3 data columns, but 1 of them is commented. # This is the default definition used if a table appears that does not have a specific definition # in this file. table_name = DEFAULT, column_name = "Column_1", column_type = "string", column_value = "This is column 1 data", # column_name = "Column_2", column_type = "string", column_value = "This is column 2 data", column_name = "Column_3", column_type = "integer", column_value = 22 ] # definition for tableA [ table_name = tableA, column_name = "AColumn_1", column_type = "string", column_value = "This is column 1 data for tableA", column_name = "AColumn_2", column_type = "string", column_value = "This is column 2 data for tableA" ] # definition for tableB [ table_name = tableB, column_name = "B_1", column_type = "string", column_value = "This is B 1 data for tableB", column_name = "B_2", column_type = "integer", column_value = 999 ]
<table>tableA</table><path>C:\CDCPUB_Install\Instance141\config\tableA.pattern</path> <table>DEFAULT</table><path>C:\CDCPUB_Install\Instance141\config\generic.pattern</path>
<SPECIAL_ATTRIBUTES> <DELIMITER>,</DELIMITER> <REPEAT_DELIMITER>,</REPEAT_DELIMITER> </SPECIAL_ATTRIBUTES> <COLUMN_ATTRIBUTES> <EXCLUDE><column_name> INFA* </column_name></EXCLUDE> <EXCLUDE><column_name> DTL* </column_name></EXCLUDE> <EXCLUDE><column_name> *_Present </column_name></EXCLUDE> <EXCLUDE><column_name> *_BeforeImage </column_name></EXCLUDE> <EXCLUDE><column_name> *_BeforeImage_Present </column_name></EXCLUDE> </COLUMN_ATTRIBUTES> # this is for insert events <INSERT_EVENT> {"evnt":"<event_type>",<REPEAT>"<column_name>":"<column_value>"</REPEAT>} </INSERT_EVENT> # this is for update events <UPDATE_EVENT> {"evnt":"<event_type>",<REPEAT>"<column_name>":"<column_value>"</REPEAT>} </UPDATE_EVENT> # this is for delete events <DELETE_EVENT> {"evnt":"<event_type>",<REPEAT>"<column_name>":"<column_value>"</REPEAT>} </DELETE_EVENT>
<SPECIAL_ATTRIBUTES> <DELIMITER>,</DELIMITER> <REPEAT_DELIMITER>,</REPEAT_DELIMITER> </SPECIAL_ATTRIBUTES> <COLUMN_ATTRIBUTES> <EXCLUDE><column_name> INFA* </column_name></EXCLUDE> <EXCLUDE><column_name> DTL* </column_name></EXCLUDE> <EXCLUDE><column_name> *_Present </column_name></EXCLUDE> <EXCLUDE><column_name> *_BeforeImage </column_name></EXCLUDE> <EXCLUDE><column_name> *_BeforeImage_Present </column_name></EXCLUDE> </COLUMN_ATTRIBUTES> # this is for insert events <INSERT_EVENT> {"evnt":"<event_type>", "<transaction_id>", "<sequence>" <REPEAT>"<column_name>":"<column_value>"</REPEAT>} </INSERT_EVENT> # this is for update events <UPDATE_EVENT> {"evnt":"<event_type>", "<transaction_id>" : "<sequence>", <REPEAT>"<column_name>":"<column_value>"</REPEAT>} </UPDATE_EVENT> # this is for delete events <DELETE_EVENT> {"evnt":"<event_type>", "<transaction_id>" : "<sequence>", <REPEAT>"<column_name>":"<column_value>"</REPEAT>} </DELETE_EVENT> <COMMIT_EVENT> { "COMMIT" : "sequence" : "<sequence>", "transaction" : "<transaction_id>" } </COMMIT_EVENT>
-------------------------------------------------------- Checking the custom patterns... Table tableA file C:\CDCPUB_Install\Instance141\config\tableA.cfg is processed Table DEFAULT file C:\CDCPUB_Install\Instance141\config\generic.cfg is processed ------------------------------------------------------------ Custom Pattern Tables List: tableA DEFAULT ------------------------------------------------------------ Custom Pattern Data file in use is C:/CDCPUB_Install/Instance141/config/patternTestData.dat Start Custom Data Patterns Processing... ------------------------------------------------------------ Custom Pattern Data Tables List: Table: tableB Column Name: DTL__CAPXACTION Column Type: string Column Value: dtlaction Column Name: DTL__CAPXRESTART1 Column Type: string Column Value: restart1ABCDEF Column Name: DTL__CAPXRESTART2 Column Type: string Column Value: restart2GHIJK Column Name: DTL__CAPXUSER Column Type: string Column Value: capxUser Column Name: DTL__CAPXUOW Column Type: string Column Value: UOW_1 Column Name: DTL__CAPXTIMESTAMP Column Type: timestamp Column Value: 202009251013370005050000 Column Name: DTL__CAPXROWID Column Type: integer Column Value: 3 Column Name: B_1 Column Type: string Column Value: This is B 1 data for tableB Column Name: B_2 Column Type: integer Column Value: 999 Table: tableA Column Name: DTL__CAPXACTION Column Type: string Column Value: dtlaction Column Name: DTL__CAPXRESTART1 Column Type: string Column Value: restart1ABCDEF Column Name: DTL__CAPXRESTART2 Column Type: string Column Value: restart2GHIJK Column Name: DTL__CAPXUSER Column Type: string Column Value: capxUser Column Name: DTL__CAPXUOW Column Type: string Column Value: UOW_1 Column Name: DTL__CAPXTIMESTAMP Column Type: timestamp Column Value: 202009251013370005050000 Column Name: DTL__CAPXROWID Column Type: integer Column Value: 2 Column Name: AColumn_1 Column Type: string Column Value: This is column 1 data for tableA Column Name: AColumn_2 Column Type: string Column Value: This is column 2 data for tableA Table: DEFAULT Column Name: DTL__CAPXACTION Column Type: string Column Value: dtlaction Column Name: DTL__CAPXRESTART1 Column Type: string Column Value: restart1ABCDEF Column Name: DTL__CAPXRESTART2 Column Type: string Column Value: restart2GHIJK Column Name: DTL__CAPXUSER Column Type: string Column Value: capxUser Column Name: DTL__CAPXUOW Column Type: string Column Value: UOW_1 Column Name: DTL__CAPXTIMESTAMP Column Type: timestamp Column Value: 202009251013370005040000 Column Name: DTL__CAPXROWID Column Type: integer Column Value: 1 Column Name: Column_1 Column Type: string Column Value: This is column 1 data Column Name: Column_3 Column Type: integer Column Value: 22 ------------------------------------------------------------ ------------------------------------------------------------ Table tableB will be processed using the DEFAULT custom pattern. ------------------------------------------------------------ Table tableB sample INSERT_EVENT: {"evnt":"INSERT_EVENT" , "table_name" : "tableB", "tranid" : "102", "sequence" : 1,2,SomeObject,3,4,5" "B_1":"This is B 1 data for tableB","B_2":"999"} Table tableB sample UPDATE_EVENT: {"evnt":"UPDATE_EVENT", "table_name" : "tableB", "tranid" : "102", "sequence" : 1,2,SomeObject,3,4,5", "B_1":"This is B 1 data for tableB","B_2":"999"} Table tableB sample DELETE_EVENT: {"evnt":"DELETE_EVENT", "table_name" : "tableB", "tranid" : "102", "sequence" : "1,2,SomeObject,3,4,5","B_1":"This is B 1 data for tableB","B_2":"999"} Table tableB sample COMMIT_EVENT: { "COMMIT" : "sequence" : "1,2,SomeObject,3,4,5", "tranid" : : "102" } ------------------------------------------------------------ Table tableA will be processed using a defined custom pattern. ------------------------------------------------------------ Table tableA sample INSERT_EVENT: {"evnt":"INSERT_EVENT" , "AColumn_1":"This is column 1 data for tableA","AColumn_2":"This is column 2 data for tableA"} Table tableA sample UPDATE_EVENT: {"evnt":"UPDATE_EVENT", "AColumn_1":"This is column 1 data for tableA","AColumn_2":"This is column 2 data for tableA"} Table tableA sample DELETE_EVENT: {"evnt":"DELETE_EVENT", "AColumn_1":"This is column 1 data for tableA","AColumn_2":"This is column 2 data for tableA"} ------------------------------------------------------------ ------------------------------------------------------------ Custom pattern validation succeeded