Avrora.Encoder.encode_plain
You're seeing just the function
encode_plain
, go back to Avrora.Encoder module for more information.
Specs
Encode binary Avro message with a :plain format and load schema from local file.
Examples
...> payload = %{"link_is_enabled" => false, "updated_at" => 1586632500, "updated_by_id" => 100}
...> Avrora.Encoder.encode_plain(payload,"io.confluent.NumericTransfer")
{:ok, <<0, 232, 220, 144, 233, 11, 200, 1>>}