2222[ v0.22 ] : https://github.com/Strech/avrora/releases/tag/v0.22.0
2323[ v0.23 ] : https://github.com/Strech/avrora/releases/tag/v0.23.0
2424[ v0.24 ] : https://github.com/Strech/avrora/releases/tag/v0.24.0
25+ [ v0.25 ] : https://github.com/Strech/avrora/releases/tag/v0.25.0
2526[ 1 ] : https://avro.apache.org/
2627[ 2 ] : https://www.confluent.io/confluent-schema-registry
2728[ 3 ] : https://docs.confluent.io/current/schema-registry/serializer-formatter.html#wire-format
@@ -84,6 +85,7 @@ defmodule MyClient do
8485 otp_app: :my_application ,
8586 registry_url: " http://localhost:8081" ,
8687 registry_auth: {:basic , [" username" , " password" ]},
88+ registry_user_agent: " Avrora/0.25.0 Elixir" ,
8789 schemas_path: " ./priv/schemas" ,
8890 registry_schemas_autoreg: false ,
8991 convert_null_values: false ,
@@ -104,6 +106,7 @@ config :avrora,
104106 otp_app: :my_application , # optional, if you want to use it as a root folder for `schemas_path`
105107 registry_url: " http://localhost:8081" ,
106108 registry_auth: {:basic , [" username" , " password" ]}, # optional
109+ registry_user_agent: " Avrora/0.24.2 Elixir" , # optional: if you want to return previous behaviour, set it to `nil`
107110 schemas_path: " ./priv/schemas" ,
108111 registry_schemas_autoreg: false , # optional: if you want manually register schemas
109112 convert_null_values: false , # optional: if you want to keep decoded `:null` values as is
@@ -115,6 +118,7 @@ config :avrora,
115118- ` otp_app ` <sup >[ v0.22] </sup > - Name of the OTP application to use for runtime configuration via env, default ` nil `
116119- ` registry_url ` - URL for the Schema Registry, default ` nil `
117120- ` registry_auth ` – Credentials to authenticate in the Schema Registry, default ` nil `
121+ - ` registry_user_agent ` <sup >[ v0.25] </sup > - HTTP ` User-Agent ` header for Schema Registry requests, default ` Avrora/<version> Elixir `
118122- ` schemas_path ` - Base path for locally stored schema files, default ` ./priv/schemas `
119123- ` registry_schemas_autoreg ` <sup >[ v0.13] </sup > - Flag for automatic schemas registration in the Schema Registry, default ` true `
120124- ` convert_null_values ` <sup >[ v0.14] </sup > - Flag for automatic conversion of decoded ` :null ` values into ` nil ` , default ` true `
0 commit comments