lib/avromatic.rb in avromatic-0.23.0 vs lib/avromatic.rb in avromatic-0.24.0
- old
+ new
@@ -7,18 +7,20 @@
module Avromatic
class << self
attr_accessor :schema_registry, :registry_url, :schema_store, :logger,
:messaging, :type_registry, :nested_models,
- :use_custom_datum_reader, :use_schema_fingerprint_lookup
+ :use_custom_datum_reader, :use_custom_datum_writer,
+ :use_schema_fingerprint_lookup
delegate :register_type, to: :type_registry
end
self.nested_models = ModelRegistry.new
self.logger = Logger.new($stdout)
self.type_registry = Avromatic::Model::TypeRegistry.new
self.use_custom_datum_reader = true
+ self.use_custom_datum_writer = true
self.use_schema_fingerprint_lookup = true
def self.configure
yield self
eager_load_models!