https://kotlinlang.org logo
#kotless
Title
# kotless
v

v79

06/12/2022, 2:17 PM
Has anyone found an alternative to Kotless for serverless development? I know of Osiris https://github.com/cjkent/osiris , but like Kotless it appears to be dead.
d

dave

06/12/2022, 3:39 PM
I'm not sure kotless is dead - but you'd have to ask JB folks about the priority list compared to Ktor etc... 😉). But back to your question - several other JVM frameworks and libraries do support Serverless deployments - although not quite in the same way as Kotless tries to (ie. solving the plumbing issue for deployments). For several client projects, I have successfully used http4k + Moshi + GraalVM + Pulumi for infra, but other JVM libs such as Spring and Micronaut also support Serverless deployments. My project experience is only with AWS, but http4k does support a total of 6 serverless platforms.
v

v79

06/12/2022, 3:44 PM
I think it's the plumbing, as you put it, which interests me the most. There's always a lot of stuff to set up on aws, terraform can help with that but kotless and Osiris really do help abstract that to a few lines of code and a few lines of config.
d

dave

06/12/2022, 3:45 PM
I'd have a look at pulumi - I've been really impressed with it using the typescript bindings it's actually not too bad. You do need to understand the underlying model or resources, but I think that's unavoidable
t

TanVD

07/02/2022, 1:04 PM
Well, Kotless is more in stasis right now, since there are a lot of things going on :( Still, @Dmitriy Valchuk is working on a few cool things for it :)
But still, I think we will need a few month more to setup and decide on next plans with Kotless.
v

v79

07/02/2022, 1:06 PM
I think Kotless is a really great idea, I do hope it can at least be made to work with Kotlin 1.6 or 1.7.
t

TanVD

07/02/2022, 1:07 PM
Or, that will be done :)
Kotlin is just changing so much in compiler right now so we just don’t have time to fix it :)
v

v79

07/06/2022, 9:11 PM
I thought I'd try compiling kotless locally. Bumped the version number (and gradle version, but zero code changes). It complies - but my test project won't. It can't find the 'new' kotless gradle plugin (it exists in my maven repo). It's all very frustrating.
22 Views