redpanda-data / redpanda-data/benthos
Acknowledgment of Configuration Updates in Watcher Mode.
Open
Nobody has claimed this yet.
enhancement
needs investigation
- Dominant language
- Go
- Stars
- 571
- Forks
- 120
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 18
Description
Desciption
- Benthos supports watcher mode, but currently there is no acknowledgment when the configuration is successfully reloaded. To address this, an API needs to be introduced that provides the count of successful configuration updates while running in watcher mode.
Acceptance Criteria
- Introduce an API endpoint that provides the count of successful configuration reloads, applicable only in watcher mode.
API Reference
Get Succss reload count
GET /benthos/config/ack
Response Body
{
"success_reload_count": "1"
}
| Parameter | Type | Description |
|---|---|---|
success_reload_count |
string |
Success Config Reload Count |
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 locating the watcher-mode configuration reload flow and the existing HTTP API entry point. Implement the documented GET /benthos/config/ack endpoint so it applies only in watcher mode and returns the successful reload count in the specified response shape; verify the behavior with the relevant API or watcher tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100