-
Hi, i'm trying to sync MongoDB -> clickhouse and this sink connector looked promising but so far didn't manage to get it working..
however, mongo debezium source connector writes the before and after as plain strings and not objects - also in the schema its string, it has this transformer ExtractNewDocumentState that does actually deserialize the after object, but then message schema is straight the object with the field __op, which then again is not the expected format of this sink connector (doesn't include "before", "after", "op" fields) Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Hi @Ilanlido , we really havent focused on Mongo support with the kafka version, in the lightweight jar, for the clickHouseConverter, it should be the schema as you had mentioned. If you are planning to add support, I would start by enabling |
Beta Was this translation helpful? Give feedback.
-
I am facing the very same problem. @Ilanlido I believe you meant to use "io.debezium.connector.mongodb.transforms.ExtractNewDocumentState". Did you get it to working state? If so, can you please share details. |
Beta Was this translation helpful? Give feedback.
Actually for replacingmergetree u dont need both
before
andafter
, you just need theafter
, we had logic before to support collapsingmergetree where both were required.