Generating customized output data
The framework implements file to file processing. When you want to customize the output data file contents, you need the custom output type in your application.
About this task
Configure the application to produce custom output data.
Procedure
- In the file <PathToYourApplication>/config/config.cfg, find the ite.storage.type parameter description
-
To select the record based output type for your application, set the parameter as follows: ite.storage.type=custom
-
In the file <PathToYourApplication>/config/config.cfg, find the ite.businessLogic.transformation.outputType parameter description
-
To select the record based output type for your application, set the parameter as follows: ite.businessLogic.transformation.outputType=recordStream
You must now implement your own file writer in the <namespace>.chainsink.custom::FileWriterCustom composite operator. The application uses the RecordStreamType that contains the TransformedRecord tuple. If tuple deduplication is enabled, the hash code must be part of the defined tuple.