Avrora.Schema.Name.parse
You're seeing just the function
parse
, go back to Avrora.Schema.Name module for more information.
Specs
Parse schema name with optional version, returning struct.
Examples
iex> Avrora.Schema.Name.parse("Payment")
{:ok, %Avrora.Schema.Name{origin: "Payment", name: "Payment", version: nil}}
iex> Avrora.Schema.Name.parse("io.confluent.Payment:42")
{:ok, %Avrora.Schema.Name{origin: "io.confluent.Payment:42", name: "io.confluent.Payment", version: 42}}