influxdata / influxdata/kapacitor

Load Directory Service can't load new handlers

Open
#2,221 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.