Changing the shape of data
This page describe a tutorial to change the shape (fields) of data in a Kafka topic using Lenses SQL Processors.
Setting up our example
KEY: "9E6F72C8-6C9F-4EC2-A7B2-C8AC5A95A26C"
VALUE: {
"car_id": "car_2",
"speedMph": 84,
"sensor": {
"id": "sensor_1",
"lat": 45,
"long": 0
},
"event_time": 159230614
}Simple projections
Using built-in functions
Composite objects
Last updated
Was this helpful?

