restatedev / examples

Restate examples
https://restate.dev
MIT License
37 stars 8 forks source link

Update Kotlin-on-Lambda with CDK template for 0.9 #130

Closed pcholakov closed 5 months ago

pcholakov commented 5 months ago

Now working!

image
pcholakov commented 5 months ago

Deployed zip size is comparable to before - slightly smaller now:

╰─ stat lambda/build/distributions/lambda.zip lambda/build/libs/lambda-all.jar                                       ─╯
  File: lambda/build/distributions/lambda.zip (new)
  Size: 11310559    Blocks: 22096      IO Block: 4096   regular file

  File: lambda/build/libs/lambda-all.jar (old)
  Size: 12292429    Blocks: 24312      IO Block: 4096   regular file
slinkydeveloper commented 5 months ago

@pcholakov do I need to manually update some variables/bump some versions when i merge the dev_0.9 branch?

pcholakov commented 5 months ago

@slinkydeveloper you don't need to do anything, we can merge as is. Optional: we may explicitly set the restate docker tag to 0.9 in the two CDK stacks - otherwise they will use the CDK construct defaults of latest.

slinkydeveloper commented 5 months ago

It's ok if they use latest for now i think.

pcholakov commented 5 months ago

Agreed! The CDK construct has been like that since the start.