Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

streamsets kafka producer adding field type in producer record.

kafka producer adding field type in records. when read from kafka-avro-console-consumer i can see field type in data.

consumer result

{ "sequenceid": "1", "message": "NA", "priority": { "string": "a" }}

schema

{ "name": "sequenceid", "type": ["null", "string"], "default": null }, { "name": "message", "type": ["null", "string"], "default": null }, { "name": "priority", "type": ["null", "string"], "default": null }