-
-
Notifications
You must be signed in to change notification settings - Fork 35
Schema name resolution
Sergey Fedorov edited this page Jan 25, 2021
·
2 revisions
By default, a folder with schemas is located at ./priv/schemas
, but can be changed via configuration config :avrora, schemas_path: Path.expand("./path/to/schemas")
.
Schemas are stored with each namespace component as a folder name, so schema with name <namespace>.<namespace>.<name>
will be stored to path namespace/namespace/name.avsc
. For example io.confluent.Payment
should be stored as follows:
.
├── lib/
├── priv/
│ ├── ...
│ └── schemas/
│ └── io/
│ └── confluent/
│ └── Payment.avsc
└── ...
For more details please check Avrora.Storage.File
module