Reputation: 2060
I have the following key value pair data. How do I convert them to json or avro format?
col_name1=a col_name2=b col_name3=c
Upvotes: 0
Views: 375
Reputation: 14184
You can treat this as CSV text (using a space ' '
as the delimiter) and use the ConvertRecord
processor to convert from CSV to JSON or Avro.
Upvotes: 1