Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageyml
titlenew config
schemas.fileschema.location

If a value for this is not provided, the current behaviour (reading schemas from the message payload) is followed.

...

Code Block
schemas.enable: true
schemas.fileschema.location: /some/filelocation/schema.json

...

The configure method will be extended.

If the schemasschema.file.location  option is not set, the current behaviour will remain as-is.

If the schemasschema.file.location  option is set, the schema file will be read and an instance variable will store the Connect schema to use.

...

We are not proposing to implement changes in fromConnectData, such as to write the schema found in the message to a file.

We are not proposing to create a custom JsonConverter, since we would have to duplicate a lot of code from this existing Json Converter (private methods etc.) for the new convertor to work.