Avrora.Storage.File.get
You're seeing just the function
get
, go back to Avrora.Storage.File module for more information.
Read schema from disk by full name, including namespace.
Files are stored with each namespace component as a folder name.
For example io.confluent.Payment
should be stored as follows:
.
├── lib/
├── priv/
│ ├── ...
│ └── schemas/
│ └── io/
│ └── confluent/
│ └── Payment.avsc
└── ...
Examples
iex> {:ok, schema} = Avrora.Storage.File.get("io.confluent.Payment")
iex> schema.full_name
"io.confluent.Payment"