powertools-lambda-java icon indicating copy to clipboard operation
powertools-lambda-java copied to clipboard

Comprehensive GraalVM support for all utilities

Open phipag opened this issue 9 months ago • 4 comments

Is your feature request related to a problem? Please describe. We want to make it easy for customers to adopt Powertools and use or keep using GraalVM in v2 of the library.

Describe the solution you'd like In https://github.com/aws-powertools/powertools-lambda-java/issues/764, we provided GraalVM support for the Core Utilities (Logging, Metrics, Tracing). This issue tracks adding GraalVM support for all other utilities.

Progress

  • [x] Parameters: #1833 ✅
  • [x] Idempotency: #1834
  • [ ] Large Messages: #1835
  • [ ] Batch Processing: #1836
  • [ ] Validation: #1837
  • [x] Custom Resources: #1838
  • [x] Serialization Utils: #1839

Additional context We have a guide for adding GraalVM support to a utility: https://github.com/aws-powertools/powertools-lambda-java/blob/7f604e4c67d838d6f72ad340c5f4af7492f1e624/GraalVM.md

phipag avatar Apr 11 '25 08:04 phipag

I'll try and see if I can implement this for parameters. I've been using v1 with GraalVM and have some custom reflect-config.json files that I would like to get rid of :-)

jreijn avatar May 02 '25 12:05 jreijn

Hey @jreijn,

this is awesome to hear! I saw your PR and will review it this week.

I also updated the initial issue description with a comprehensive list of all utilities and the progress made.

phipag avatar May 05 '25 09:05 phipag

Hi @jreijn,

not to confuse you. I created sub-issues for better tracking. The one for the Parameters module is here: https://github.com/aws-powertools/powertools-lambda-java/issues/1833

Let's move conversation to the sub-issue in case something comes up.

phipag avatar May 08 '25 08:05 phipag

That's a great improvement. Once the parameters modules if done I will try to pick up one of the other ones.

jreijn avatar May 08 '25 11:05 jreijn