avromatic
avromatic copied to clipboard
Generate Ruby models from Avro schemas
This is a POC of using the [Avro C++](https://avro.apache.org/docs/current/api/cpp/html/index.html) libraries to optimize Avromatic model encoding/decoding. # Benchmark Results All benchmarks results are relative to the Ruby Avro library version [89c03cfe](https://github.com/apache/avro/tree/89c03cfe5fe8a0ad1aacf910e9b94c57a41ea67e)...
When I define an Avromatic class, and instantiate it, I expect all the nested records to also be instantiated. Instead, only the top-most record is instantiated, and any sub-records are...
This almost certainly depends on environmental factors, however in a Rails app where we have a fairly vanilla set-up with Avromatic calling `#avro_message_value` yields an UTF-8 encoded string. That's pretty...
Hi. thanks for the nice gem! I'd like to report an issue. ## Description We have the following Avro schema: ```json { "type": "record", "namespace": "xyz", "name": "failureExample", "version": 1,...
Some AVRO data model managed by other team is using field named `attributes` which collided with virtus restricted [attributes name](https://github.com/solnic/virtus/blob/master/spec/unit/virtus/attribute_spec.rb#L40). ``` ruby ArgumentError: "attributes" is not allowed as an attribute...
Please provide an example how to configure gem to create models only from remote schema registry. The provided examples based on local-stored schemas while all my schemas are stored remotely...
## Feature Request Update the [Avromatic::Model::MessagingSerialization](https://github.com/salsify/avromatic/blob/master/lib/avromatic/model/messaging_serialization.rb#L59-L71) module to make schema registration with the schema registry optional. ### Current Behaviour Currently, the `MessagingSerialization` module automatically registers the Avro schemas (both key...