GitHub user szaboferee opened a pull request:
https://github.com/apache/flume/pull/197
FLUME-2442 Need an alternative to providing clear text passwords in flume
config
Adding an interface with 3 implementations to provide functionality at the
configuration level to replace variables/keys from external sources. This
component is capable of hiding sensitive information or injecting generated
data into the configuration.
The implementation affects only the configuration layer so existing
components (sinks/sources/channels/etc) does not have to change and new
components can already have it through the configuration.
New custom implementations can be easily added even in plugin form.
Each implementation has unit tests in their module and an integration test
in the flume-ng-tests module.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/szaboferee/flume FLUME-2442
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flume/pull/197.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #197
----
commit 72cc49cb0371c6b97b12d102c1224c57bce55ca5
Author: Ferenc Szabó <fszabo@...>
Date: 2018-01-24T20:55:02Z
adding unit tests and some refactoring and code cleanup
commit 9df1b12e6b5ae3c201bd15d32f5550dd9b380cd2
Author: Ferenc Szabó <fszabo@...>
Date: 2018-01-29T18:13:27Z
config filters
commit fa13593baa06c9d770a21fc970110e0c9abf2ef8
Author: Ferenc Szabó <fszabo@...>
Date: 2018-02-13T13:20:40Z
Test fixes + some refactore
----
---