Strech / avrora

A convenient Elixir library to work with Avro messages, schemas and Confluent® Schema Registry
https://hexdocs.pm/avrora
MIT License
98 stars 33 forks source link

Extract Encoders to a separate modules #39

Closed Strech closed 4 years ago

Strech commented 4 years ago

Technically we have 3 encoders

  1. ObjectContainerFile
  2. Registry
  3. Plain

and Avrora.Encoder knows too much about all the things. After we introduce Avrora.Encoder.extract_schema the duplication of responsibilities and some functions start overlapping.

At the same time, it would be cool to have something like Avrora.Storage behavior.

Strech commented 4 years ago

Closed by #42