[webhook output] Make response timeout configurable
Open
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
Assessment
This issue has not been assessed yet.