Hi, I’m trying to ingest Kafka data into Druid using tranquility.
The message i am posting looks like:
{“metrics”:[{“i”:4.4,“p”:145},{“i”:4.98,“p”:925},{“i”:4.27,“p”:565},{“i”:4.108,“p”:210}],“t”:1502096667903}
Tried to use json flattenSpec. But as the data have same key names(i and p), facing some issues when I try to index them to same variables
Can someone let me know if flattenSpec helps me in indexing this form of data or should I go for some other approach?
Thanks,
Ramya