influxdata / influxdata/kapacitor
Load Directory Service can't load new handlers
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Kapacitor 1.5.2 will refuse to start unless all handlers from the `handlers/` directory have already been previously defined with `define-topic-handler`
```
Jun 13 15:37:25 xxx kapacitord: run: open server: failed to reload tasks/templates/handlers: failed to load file /opt/tick/kapacitor/handlers/areca.yaml: unknown handler: "areca"
```
Contributor guide
Research direction
Start by reproducing startup with a new handler file in the handlers/ directory, then trace the directory-loading path that reports unknown handler. Check existing tests around handler loading if present. Done means Kapacitor starts and loads a newly added handler without requiring a prior define-topic-handler.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100