Skip to content

Conversation

@robbydyer
Copy link

When a list of redis hosts is given to the redis output and the congestion_threshold is hit, it should try sending the output to a different host in the list after a certain number of attempts. This is useful in cases where the consumers of the redis lists are down. As it is now, logstash will just keep attempting to send output to the same host, rather than attempting another one in its list.

@piavlo
Copy link
Contributor

piavlo commented Mar 18, 2014

I think there should be option NOT to try different server on congestion as it is highly dependant on the infra setup, and in some cases trying different redis would be wrong thing to do.So I'd change the PR so that :congestion_attempts set to zero would mean to never migrate to different redis server during congestion.

@robbydyer
Copy link
Author

I agree with the option to disable the congestion attempt feature. Now defaults to 0, which will disable the feature.

@elasticsearch-release
Copy link

Can one of the admins verify this patch?

@johntdyer
Copy link

👍 Looking forward to to this being merged

@jmherbst
Copy link

jmherbst commented Feb 3, 2015

@robbydyer -- Any chance you could sign this CLA to get this merged :)

@robbydyer
Copy link
Author

CLA signed.

@jmherbst
Copy link

jmherbst commented Feb 3, 2015

YTMND

@jsvd
Copy link
Member

jsvd commented Feb 3, 2015

Thanks for this PR! Migrated it to the plugin repo, since we've separated plugins from the core logstash-plugins/logstash-output-redis#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants