How to push unstructured JSON data with Keys into a clickhouse table using this connector? #207
-
I have a Kafka topic with the following properties:
I want to push this data into Clickhouse for further analysis using the Clickhouse Kafka sink connector. However, I can't find the format for the target table (named the same as the topic). I'd ideally like a ReplacingMergeTree with the keys in the Kafka topic acting as the primary key, and each new message in the topic acting as a different version. And the value of the Kafka message should be inserted as a JSON / string so that it can be queried. Can anyone help me with this scenario? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
What you're probably looking for is a message transform!
I'm unable to test it this moment, but that SHOULD solve your issue. Hope it helps! |
Beta Was this translation helpful? Give feedback.
What you're probably looking for is a message transform!
I'm unable to test it this moment, but that SHOULD solve your issue. Hope it helps!