Hello,
I'm using debezium 1.4 and I need to add some information in my Avro Schema for compliance reasons.
My schema (im using schema-registry) is been registered as below, and I need to add a "doc" key with some information about the data.
My actual payload
{ "type": "record", "name": "Value", "namespace": "dbserver.user", "fields": [ { "name": "USER_ID", "type": "long" }, { "name": "USER_NAME", "type": "string" }, { "name": "USER_INSERT_DATE", "type": { "type": "string", "connect.version": 1, "connect.default": "1970-01-01T00:00:00Z", "connect.name": "io.debezium.time.ZonedTimestamp" }, "default": "1970-01-01T00:00:00Z" } ], "connect.name": "dbserver.user.Value" }How I wanted
{ "type": "record", "name": "Value", "namespace": "dbserver.user", "fields": [ { "name": "USER_ID", "type": "long", "doc": "Id from user table" }, { "name": "USER_NAME", "type": "string", "doc": " [SENSITIVE] User name" }, { "name": "USER_INSERT_DATE", "type": { "type": "string", "connect.version": 1, "connect.default": "1970-01-01T00:00:00Z", "connect.name": "io.debezium.time.ZonedTimestamp" }, "default": "1970-01-01T00:00:00Z", "doc": "Insert date" } ], "connect.name": "dbserver.user.Value" }There's any way to do that?
I'm been searching about SMT and custom converters, but nothing seems to solve that
--
You received this message because you are subscribed to a topic in the Google Groups "debezium" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/debezium/cMG7-M9bMaI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to debezium+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/5e49de47-4c4c-493d-a402-6cd9a8848b5dn%40googlegroups.com.