Formatter.avroBinaryAsString
Controls whether change data with a binary datatype is represented as string data in Avro messages. Set this property to true if the data will be consumed by applications that do not support binary data, such as Informatica Intelligent Streaming. The default value is false.
Formatter.avroIncludeBeforeImage
Controls whether the generated Avro schema and messages include a field for before-image data. Set this property to true to include this field. Set this property to false to not include this field.
If you include the before-image field, the field is populated with data for UPDATE operations, if you set the Extract.pwxUpdateImageOption property to enable the extraction of before-image data from the PowerExchange change stream. For DELETE and INSERT operations, the field is not populated with data.
The default value is true.
Formatter.avroBinaryStringRepresentationType
If you set the Formatter.avroBinaryAsString property to true or use a generic Avro format, indicates whether binary data is represented as a hexadecimal string or base64 string. Valid values are:
The default value is base64.
Formatter.avroSchemaPrintDefaultFields
Controls whether Avro schemas include the "default" fields. If you need to reduce the schema size, you can set this property to false to exclude the default fields. The default value is true, which includes the default fields.
Formatter.avroSchemaPrintDocFields
Controls whether Avro schemas include the "doc" fields. The doc fields include metadata such as the CDC and PowerExchange datatypes, precision, and scale. If you need to reduce the schema size, you can set this property to false to exclude the doc fields. The default value is true, which includes the doc fields.
Formatter.avroSchemaPrintPretty
Controls whether Avro schemas include spaces and line feeds to improve legibility. If you need to reduce the schema size, you can set this property to false to exclude the spaces and lines feeds. The default is true, which includes the spaces and line feeds.
Formatter.avroWrapperSchemaFormat
Enables the use of an Avro "wrapper" schema format. The wrapper schema can be used to describe any source object. The wrapper, or parent, schema consists of four fields for each source object: the sequence number of the change record, source table name, change operation type, and the "wrapped" Avro child schema expressed as a large string. The consumer application can then parse the underlying data and put it in the proper Avro format for the source object. To use a wrapper schema format, set this property to
avroWrapperSchemaFormatV1
. No default value is provided. For more information, see
Avro Wrapper Schema Format.
Formatter.avroUseLogicalDateType
Formatter.avroUseLogicalDecimalType
Formatter.avroUseLogicalTimeMillisType
Formatter.avroUseLogicalTimeMicrosType
Formatter.avroUseLogicalTimestampMillisType
Formatter.avroUseLogicalTimestampMicrosType
If you use Avro logical types for dates, decimal values, times, or timestamps and want the CDC Publisher to make a best-effort attempt to process these logical types, set this property to true. The following sets of properties are mutually exclusive so specify one property or the other but not both:
Formatter.avroUseLogicalTimeMillisType and Formatter.avroUseLogicalTimeMicrosType
Formatter.avroUseLogicalTimestampMillisType and Formatter.avroUseLogicalTimestampMicrosType
The default value for each of these properties is false.
If you set a property to true, make sure that the source fields are defined in the extraction map with a compatible data type, scale, and precision.