You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a recent PR (#197) we've introduced the connect_timeout option to set a timeout for a connection to the schema registry.
However, that only works for the connection between the application server (where AvroTurf is running) and the destination server (where the schema registry is running).
There is another server which is queried -> the domain name server (DNS) that resolves the host into an IP address.
Excon recently (today) released a version that supports setting this timeout towards the dns server (https://github.com/excon/excon/blob/master/README.md?plain=1#L198).
I'll open up a PR tomorrow to make use of this option, however, I want to ask you (@dasch) if you'd rather have an additional parameter being passed down from AvroTurf::Messaging to Excon, or use the same connect_timeout we've recently introduced?
Please note that dns_timeouts accepts an integer and an array of integers (to retry the request with different timeouts), while connect_timeout only accepts an integer.
The text was updated successfully, but these errors were encountered:
Hey there 👋
In a recent PR (#197) we've introduced the
connect_timeout
option to set a timeout for a connection to the schema registry.However, that only works for the connection between the application server (where AvroTurf is running) and the destination server (where the schema registry is running).
There is another server which is queried -> the domain name server (DNS) that resolves the host into an IP address.
Excon
recently (today) released a version that supports setting this timeout towards the dns server (https://github.com/excon/excon/blob/master/README.md?plain=1#L198).I'll open up a PR tomorrow to make use of this option, however, I want to ask you (@dasch) if you'd rather have an additional parameter being passed down from
AvroTurf::Messaging
toExcon
, or use the sameconnect_timeout
we've recently introduced?Please note that
dns_timeouts
accepts an integer and an array of integers (to retry the request with different timeouts), whileconnect_timeout
only accepts an integer.The text was updated successfully, but these errors were encountered: