-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][io] Elasticsearch sink: Support loading config from secrets #18986
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
[improve][io] Elasticsearch sink: Support loading config from secrets #18986
Conversation
77cdee5 to
984801b
Compare
984801b to
cad39c3
Compare
nicoloboschi
left a comment
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.
+1
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #18986 +/- ##
============================================
+ Coverage 46.35% 46.91% +0.55%
- Complexity 8939 10563 +1624
============================================
Files 597 706 +109
Lines 56858 69005 +12147
Branches 5905 7391 +1486
============================================
+ Hits 26357 32372 +6015
- Misses 27616 33032 +5416
- Partials 2885 3601 +716
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
/pulsarbot rerun-failure-checks |
|
Can we merge this? |
|
/pulsarbot rerun-failure-checks |
|
@nicoloboschi The failing OWASP dependency check is independent of this PR, we cannot get it to turn green, it has to be fixed by itself. Can we go ahead with merging this change? |
Motivation
The Elasticsearch sink does currently not support loading config properties such as credentials from secrets.
Modifications
Use
IOConfigUtils.loadWithSecretsto enable loading sensitive sink configurations from secrets too.Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: alpreu#3