Closed alok87 closed 4 years ago
I don't think there is a way to generically create structs that will represent any type of schema defined. Schemas will always be per-project, each one of their own characteristics.
Unless you know any method I could follow. Otherwise I think we can close this issue.
-- Ricardo
I was finally solve it the way u are suggesting by parsing. https://stackoverflow.com/questions/63564543/decode-a-debeuzium-event-schema-into-a-meaningful-datastructure-in-golang thank you.
Output:
Program:
Schema in this is a string (i mean
s.Schema()
). I need to construct a postgres statement from this schema. Parsing this scheme is a big pain. Do we have some golang Debezium structs for the debezium schema which i can unmarshal to...