dasch / avro_turf

A library that makes it easier to use the Avro serialization format from Ruby.
MIT License
167 stars 80 forks source link

Add `resolv_resolver` parameter to `AvroTurf::Messaging` #202

Closed bruno-b-martins closed 1 year ago

bruno-b-martins commented 1 year ago

Goal

Start using the new resolv_resolver parameter of Excon in order to be able to use custom domain name resolvers and their options, like nameserver and timeouts. Also, address the new deprecation warning of dns_timeouts being deprecated.

Description

In this PR we're starting to use Excon's resolv_resolver parameter to pass custom domain name resolvers and options. We also stop using dns_timeouts since it has been deprecated in Excon v0.104.0 (see why in https://github.com/excon/excon/issues/832).

I've updated the changelog and the specs as well.

Please let me know your feedback 🙇