Closed theintz closed 9 years ago
Hi, Thank you for contribution. I'll check the changes and merge this soon.
Thanks! I merged this PR into master branch. Because you used your master branch to contribute, you should pull my master branch using force-pull.
When the redis connection breaks in the Redis{List, Publish}DrivenSink, Flume cannot find out about it, because the exception is not propagated up. This is however very useful for usage for example with the FailoverSinkProcessor, which would switch to a backup redis sink in those cases.
This PR fixes the classes so that the failure is reported to Flume (through rethrowing the exception) and also resets the connection, so that upon the next invocation it will automatically try to reconnect.