Hello folks :wave: Is someone using Quarkus with ...
# server
l
Hello folks 👋 Is someone using Quarkus with K for a while? I’d like to know about pain-points when comparing to Boot or Micronaut that seems to have better Kotlin support (and more love from the Kotlin community)
r
The last time I looked at Quarkus — which admittedly was several months ago — I found that it lacked basic "Kotlin" tutorials and examples. Everything was written with Java in mind and there wasn't first-class support for Kotlin. I recall Micronaut having better Kotlin support + documentation. It also wasn't clear how to use coroutines, or if they were supported at all. Hopefully that's changed.
👍 1
n
same here for integration with frameworks, spring boot is number one, then quarkus, then micronaut micronaut is last because though they provide code in kotlin, they generate bytecode ahead of time with kapt, and it’s definitely not a great idea
l
Recents Quarkus releases have much better Kotlin and Gradle support, documentation has improved too.
r
I'll have to check it out again. I'm a big fan of #vertx, so naturally I'd love to see Quarkus become more popular. 😉
@Luiz Aguiar: Does Quarkus provide any application CoroutineScopes? The documentation mentions mutiny-kotlin, however, that appears to be helpers for transforming coroutines into Uni/Multi and not providing coroutine builders. Edit: Nevermind, had to swap out:
Copy code
<dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-resteasy</artifactId>
        </dependency>
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-resteasy-jackson</artifactId>
        </dependency>
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-resteasy-mutiny</artifactId>
        </dependency>
for:
Copy code
<dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-resteasy-reactive</artifactId>
        </dependency>
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-resteasy-reactive-jackson</artifactId>
        </dependency>
        <dependency>
            <groupId>io.smallrye.reactive</groupId>
            <artifactId>mutiny-kotlin</artifactId>
        </dependency>
It's a little bit awkward, but seems to be working now. I opened an issue to further clarify how to use coroutines (for dummies like myself).
👀 1
👍 1
336 Views