2424[ v0.25 ] : https://github.com/Strech/avrora/releases/tag/v0.25.0
2525[ v0.26 ] : https://github.com/Strech/avrora/releases/tag/v0.26.0
2626[ v0.28 ] : https://github.com/Strech/avrora/releases/tag/v0.28.0
27+ [ v0.30 ] : https://github.com/Strech/avrora/releases/tag/v0.30.0
2728[ 1 ] : https://avro.apache.org/
2829[ 2 ] : https://www.confluent.io/confluent-schema-registry
2930[ 3 ] : https://docs.confluent.io/current/schema-registry/serializer-formatter.html#wire-format
3637[ 10 ] : https://github.com/Strech/avrora/pull/70
3738[ 11 ] : https://github.com/klarna/erlavro#decoder-hooks
3839[ 12 ] : https://www.erlang.org/docs/26/man/ssl#type-client_cacerts
40+ [ 13 ] : https://www.erlang.org/docs/26/man/ssl#type-client_option
3941
4042# Getting Started
4143
@@ -64,7 +66,7 @@ Add Avrora to `mix.exs` as a dependency
6466``` elixir
6567def deps do
6668 [
67- {:avrora , " ~> 0.27 " }
69+ {:avrora , " ~> 0.30 " }
6870 ]
6971end
7072```
@@ -88,7 +90,8 @@ defmodule MyClient do
8890 schemas_path: " ./priv/schemas" ,
8991 registry_url: " http://localhost:8081" ,
9092 registry_auth: {:basic , [" username" , " password" ]},
91- registry_user_agent: " Avrora/0.25.0 Elixir" ,
93+ registry_user_agent: " Avrora/0.30.0 Elixir" ,
94+ registry_ssl_opts: [verify: :verify_none ]
9295 registry_ssl_cacerts: File .read! (" ./priv/trusted.der" ),
9396 registry_ssl_cacert_path: " ./priv/trusted.crt" ,
9497 registry_schemas_autoreg: false ,
@@ -111,7 +114,8 @@ config :avrora,
111114 schemas_path: " ./priv/schemas" ,
112115 registry_url: " http://localhost:8081" ,
113116 registry_auth: {:basic , [" username" , " password" ]}, # optional
114- registry_user_agent: " Avrora/0.24.2 Elixir" , # optional: if you want to return previous behaviour, set it to `nil`
117+ registry_user_agent: " Avrora/0.30.0 Elixir" , # optional: if you want to return previous behaviour, set it to `nil`
118+ registry_ssl_opts: [verify: :verify_none ], # optional: if you want to set any available SSL options, overwriting rest
115119 registry_ssl_cacerts: File .read! (" ./priv/trusted.der" ), # optional: if you have DER-encoded certificate
116120 registry_ssl_cacert_path: " ./priv/trusted.crt" , # optional: if you have PEM-encoded certificate file
117121 registry_schemas_autoreg: false , # optional: if you want manually register schemas
@@ -126,6 +130,7 @@ config :avrora,
126130- ` registry_url ` - URL for the Schema Registry, default ` nil `
127131- ` registry_auth ` – Credentials to authenticate in the Schema Registry, default ` nil `
128132- ` registry_user_agent ` <sup >[ v0.25] </sup > - HTTP ` User-Agent ` header for Schema Registry requests, default ` Avrora/<version> Elixir `
133+ - ` registry_ssl_opts ` <sup >[ v0.30] </sup > - Arbitrary [ SSL client options] [ 13 ] in Erlang format (take precedence over other SSL options), default ` nil `
129134- ` registry_ssl_cacerts ` <sup >[ v0.28] </sup > - DER-encoded certificates, but [ without combined support] [ 12 ] , default ` nil `
130135- ` registry_ssl_cacert_path ` <sup >[ v0.28] </sup > - Path to a file containing PEM-encoded CA certificates, default ` nil `
131136- ` registry_schemas_autoreg ` <sup >[ v0.13] </sup > - Flag for automatic schemas registration in the Schema Registry, default ` true `
0 commit comments