-
Notifications
You must be signed in to change notification settings - Fork 61
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
AWS IAM authentication #178
base: main
Are you sure you want to change the base?
Changes from 3 commits
5d31f1f
6f1b45c
bef696e
4c37ca9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,32 @@ dependencies { | |
implementation 'com.github.luben:zstd-jni:1.5.5-4' | ||
implementation 'org.lz4:lz4-java:1.8.0' | ||
implementation 'org.xerial.snappy:snappy-java:1.1.10.5' | ||
implementation 'software.amazon.msk:aws-msk-iam-auth:1.1.4' | ||
// transitive deps used by software.amazon.msk:aws-msk-iam-auth | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😳 This seems like... a lot. Are we concerned that we are going to have issues with dependency clashes with other plugins and Logstash core? cc @jsvd There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In 4c37ca9 you can see the difference switching from
While Netty http and http2 codecs are present it was added also a dependency on Apache's There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From Logstash core we have:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The pluggable security classes root in 2 classes:
The The
Looking at the source of
Despite the class So my conclusion is that we can't strip any jar. |
||
implementation 'com.amazonaws:aws-java-sdk-core:1.12.290' | ||
implementation 'com.amazonaws:aws-java-sdk-sts:1.12.290' | ||
implementation 'software.amazon.awssdk:annotations:2.17.267' | ||
implementation 'software.amazon.awssdk:apache-client:2.17.267' | ||
implementation 'software.amazon.awssdk:auth:2.17.267' | ||
implementation 'software.amazon.awssdk:aws-core:2.17.267' | ||
implementation 'software.amazon.awssdk:aws-json-protocol:2.17.267' | ||
implementation 'software.amazon.awssdk:aws-query-protocol:2.17.267' | ||
implementation 'software.amazon.awssdk:http-client-spi:2.17.267' | ||
implementation 'software.amazon.awssdk:json-utils:2.17.267' | ||
implementation 'software.amazon.awssdk:metrics-spi:2.17.267' | ||
implementation 'software.amazon.awssdk:netty-nio-client:2.17.267' | ||
implementation 'software.amazon.awssdk:profiles:2.17.267' | ||
implementation 'software.amazon.awssdk:protocol-core:2.17.267' | ||
implementation 'software.amazon.awssdk:regions:2.17.267' | ||
implementation 'software.amazon.awssdk:sdk-core:2.17.267' | ||
implementation 'software.amazon.awssdk:sso:2.17.267' | ||
implementation 'software.amazon.awssdk:sts:2.17.267' | ||
implementation 'software.amazon.awssdk:third-party-jackson-core:2.17.267' | ||
implementation 'software.amazon.awssdk:utils:2.17.267' | ||
implementation 'software.amazon.msk:aws-msk-iam-auth:1.1.4' | ||
|
||
|
||
|
||
} | ||
task generateGemJarRequiresFile { | ||
doLast { | ||
|
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.
Can we use more modern versions of these libraries? These are somewhat out of date
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.
Tested with commit 4c37ca9 and was able to connect.
So @robbavey please could you review it again 🙏