Closed wallflower closed 3 years ago
@wallflower gjson
supports nested json attributes, fastjson
doesn't. fastjson
is the default json parser. Please try gjson
.
This feature seems broken.
Sorry for the late reply. Using gjson
worked. Thanks!
Hello,
I was trying to ingest a pretty simple kafka message:
With the following dim configuration:
From my understanding of these issues, this should work, but in clickhouse I only see received_ts and mqtt_topic populated, the nested payload attributes come across NULL. so it seems like the nested sourceName is not working as described.
I have looked at: https://github.com/housepower/clickhouse_sinker/pull/56 and https://github.com/housepower/clickhouse_sinker/commit/a6d9097b03efecc4b28818616bba57f19529122c
Any thoughts as to what I am doing wrong?