Changing data formats
Tutorial on how to change the format of data in a Kafka topic from JSON to AVRO with Lenses SQL Processors.
Requirements
Creating the JSON data
CREATE TABLE car_speed_events_json(
_key.plate string
, speedMph int
, sensor.id string
, sensor.lat double
, sensor.long double
, event_time long
)
FORMAT (json, json);Creating the AVRO topic
Last updated
Was this helpful?

