connect icon indicating copy to clipboard operation
connect copied to clipboard

make the context timeout configurable when calling the schema registry

Open fouadkada opened this issue 1 year ago • 1 comments
trafficstars

Context

The context used in the processor_schema_registry_decode and processor_schema_registry_encode has a hardcoded timeout when calling the schema registry.

This is problematic when the schema registry does not respond within the 5 seconds hardcoded value.

This change introduces a read_timeout configurable string value that is parsed to a duration using time.ParseDuration to allow the user to customize the duration after which the context timeouts.

fouadkada avatar Mar 26 '24 20:03 fouadkada