SaFi Bank Space : How to enable automatic Kafka Avro schema registration locally

Since there is a dedicated Github workflow (avro-schema-generator) that creates Kafka topics and registers corresponding Avro schemas, we agreed to disable the automatic Avro schema registration of Kafka producers in this PR (https://github.com/SafiBank/SaFiMono/pull/7213 ). This would impact both test cases and local development. In order to have automatic Avro schema registration when doing local development or running tests locally, add the following lines to the corresponding application.yml or appication-test.yml.

kafka:
  auto.register.schemas: true
  

Please keep in mind that don’t add these lines to applicaton.yml and push it to the remote repository, it’s only for local development. We have a dedicated Github action to check this.