elastic / elastic/stream

[webhook output] Make response timeout configurable

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
12
Forks
18
Avg merge
10h 32m
Merged PRs (30d)
1

Description

When testing webhook delivery to the Filebeat http_endpoint and requesting a delivery acknowledgement, it can take many seconds for the request to complete. elastic/stream has a hard-coded HTTP timeout of 1s which isn't long enough. So make the timeout configurable.

https://github.com/elastic/stream/blob/2969e284784011cd50e156af7acfb844bd7cc35a/internal/output/webhook/webhook.go#L35

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.