def schema_registry=(options = {})
      klass = options.delete(:type).to_s.split(/_/).map(&:capitalize).join
      const = Object.const_get("AvroPinions::#{klass}Registry")
      sr = const.new(options)
      @schema_registry = sr
    end
def schema_registry=(options = {})
      klass = options.delete(:type).to_s.split(/_/).map(&:capitalize).join
      const = Object.const_get("AvroPinions::#{klass}Registry")
      sr = const.new(options)
      @schema_registry = sr
    end
:type gets pulled off and constructs the given registy
 all of the rest of the options get passed to an instance of hte type.kklk