redpanda-data / redpanda-data/benthos
Support circuit breaking inputs
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 571
- Forks
- 120
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 18
Description
When processing from a FIFO input stream a fail in a connected REST Service should possibly trigger a circuit breaking of the input stream.
Might be necessary for Inputs to declare internally, whether they support Circuit Breaking natively though.
Config could be:
processors:
- circuit_breaker:
half_open_max_requests: 2
interval: "1s"
open_timeout: 60s
trip: |
root = this.requests >= 3 && (this.total_failures / this.requests) >= 0.6
processors:
- http:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how FIFO input streams handle failures from the connected REST service and how the existing http processor is configured. Review the proposed circuit_breaker configuration, including half-open requests, intervals, timeouts, and trip conditions; done would mean the supported input behavior and configuration are defined and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100