In case this is helpful, I wrote a (WIP) version that does what you say, but using JSONSchema instead of avro schema. https://github.com/ottomata/kafka-connect-jsonschema
On Thu, Aug 29, 2019 at 12:48 PM Josef Hak <j...@redhat.com> wrote: > Hi, > please is it possible to create kafka connect Schema using json, e.g. avro > definition json? I need it for writing custom Single Message Transformation > and can not find how to do that. I miss something like method in Schema > loadFromJson(String avroDefJson). Without it probably I will have to write > custom custom parser which creates Schema for me using SchemaBuilder. > > > https://kafka.apache.org/0110/javadoc/org/apache/kafka/connect/data/SchemaBuilder.html > > Thanks and Regards > > Josef >