-
Notifications
You must be signed in to change notification settings - Fork 68
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
add support for native image - GRAALVM #117
Comments
hello @ricardkollcaku, we're facing the same problem, have you found a solution ? |
@hajlaoui-nader |
thanks @ricardkollcaku. we've done the same and it works:
PS: we're not using |
@hajlaoui-nader I am facing same issue and could you tell me what version of aws-msk-iam-auth did you use? I seem to run into build issues one after another. Thanks a ton. |
hello @sivabalachandran, we used the version |
@hajlaoui-nader With 1.1.9, do you have to initialize anything at runtime using |
Hello all! Couple things - You will want to add awsDebugCreds=true to your sasl.jaas.config, and you want to turn on DEBUG logging for the software.amazon.msk package. This way you see the full errors+stack traces if/when you need to add hints. Otherwise it just fails silently leaving you scratching your head (typical for security related packages). I am using EKS IAM Roles for Service Accounts, so I also had to add a hint for com.amazonaws.auth.AWS4Signer (default constructor). I'm going to get with my company to see what hoops I need to jump to contribute native hints to this project. |
Hi Team, or something else needed to be done. |
I have the same probleme with the build native of aws-msk-iam-auth. I configure with and "-H:AdditionalSecurityProviders=software.amazon.msk.auth.iam.internals.IAMSaslClientProvider" but I have following errors in AWS, do you have the same probleme ? |
The current library is completely unusable with native (GraalVM / Quarkus), probably because of aws sdk v1 that does not support native |
I've got it all working. I can share my hints once I'm at my desk. |
It would be wonderful 🙌 |
Hi @matthenry87 can you share you working configuration to make it work ? Thanks a lot |
Hey! What do you guys think would be the best path to completely solve this issue? I'm not very familiar with migrating these applications to work with native, but I'm willing to help. Should we try to use Features or this wouldn't work? I noticed there were some PRs updating the aws sdk, but these issues with reflection are still happening. Maybe we can build an wrapper supporting native... |
Hi @joseiedo , indeed, with full migration to AWS SDK v2, it is easier to use it with Quarkus. I need to add some configuration (in Kotlin for me):
And in Quarkus config (
|
Currently if we use msk kafka and we want to build a native image (spring boot app)
it will not work because reflected classes are not declared for graalvm to include them in compile time
Would be nice that this configuration would be included in the library
The text was updated successfully, but these errors were encountered: