-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update redis client #1353
Update redis client #1353
Conversation
Rewrite redis client based on outputs.mode package - support for TLS - support for SOCKS5 - error handling and retry logic + support for 'Guaranteed' output - support for failover and loadbalancing if multiple hosts are configured - support for multiple workers (loadbalancing mode) per redis host - backoff strategy is redis is unresponsive - split topology handling from outputer (dedicated config options in redis module) - Fix response handling draining complete response buffer after sending batch
|
||
===== port | ||
|
||
The port of the Redis server. | ||
Redis default port if hosts do not contain port number. The default is 6379. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... do not contain the port number ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not, it's default redis port
@dedemorton Can you have a look at the doc changes? |
return nil, err | ||
} | ||
|
||
multiValue := major > 2 || (major == 2 && minor >= 4) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A note would be nice why this differentiation is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
LGTM. Would be good if perhaps @andrewkroh also could have a look. |
@urso Can you squash the commits? |
Nice job. The code LGTM. |
Rewrite redis client based on outputs.mode package