streamsets kafka producer adding field type in producer record.

asked 2019-02-28 13:23:21 -0500

spider8686 gravatar image

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 }

edit retag flag offensive close merge delete

Comments

Can you add the expected result?

metadaddy gravatar imagemetadaddy ( 2019-02-28 16:36:42 -0500 )edit

`{ "sequenceid": "1", "message": "NA", "priority": "a" }` is expected. there should be no field type.

spider8686 gravatar imagespider8686 ( 2019-03-01 08:49:00 -0500 )edit