Graylog2 / Graylog2/graylog2-server

Manual LB status 'DEAD' should also disable 'pull' inputs(kafka)

Open
#5,810 0 comments 0 reactions 0 assignees View on GitHub
feature inputs triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

Manually setting a node's load balance state to 'DEAD' should also disable input queues which are self-throttling such as kafka. This is a way to manually temporarily regulate the inbound messages from input types which are pull-based or load balanced in other ways.

## Expected Behavior
Setting a node LB status to 'DEAD' should disable all applicable input types for that node which can be self-throttled.

## Current Behavior
Setting LB state to 'DEAD' only changes the API result for LB state used by external load balancers.

## Possible Solution
If a Node is manually marked 'DEAD', any input in use on that node which can be self-throttled should do so.

## Context
Kafka queue usage is a pull-type load balancing. You may not want to disable processing, but may want to temporarily disable more messages from being pulled from the kafka queue. Stopping the input per-node would work, but this seems like a more sane way to disable any "load balanced" input capable of disablement.

* Graylog Version: 3.0
* Elasticsearch Version:
* MongoDB Version:
* Operating System:
* Browser version:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.