Open MaxwellPayne opened 3 years ago
Is there any solution to this? @MaxwellPayne @konrad-kaminski
@simodefes is there any reason you need this library? Spring has support for suspend
in controllers for almost 2 years now - since 5.2
https://spring.io/blog/2019/04/12/going-reactive-with-spring-coroutines-and-kotlin-flow
This repo should be archived.
@r6q I'm new to Kotlin and was asked to work on a legacy project that uses this library and the project doesn't build because of this.
I see, that’s unfortunate. In that case you can fork and build this repo, and put it in your company’s artifactory. Or better, as I mentioned drop this dependency and use spring. I am sure that shouldn’t be very hard to update the project, unless your company forbids you to upgrade. In that case I’d even suggest looking for another job, if the company uses unmaintained alpha version of some random library and at the same time does not want to upgrade spring.
I am 99% sure that Konrad won’t do any changes here.
Confirmed that upgrading Spring Boot to > 2.5 removes the need for this library.
What about CoroutineApplicationEventPublisher
and @EventListener
? AFAIK, Spring still does not offer same functionality out of the box.
Btw, spring @Cacheable
still doesn't work well with suspend functions
@a-ivanov @Djaler I also encountered a series of issues when using Koltin Coroutiens in my Spring Boot project, I listed some cases that failed to use Kotlin Coroutines in #51.
Hope this project can be refreshed and aligned to the latest Spring Boot and fill the blank of the current Kotlin Coroutines support
in Spring/Spring Boot.
According to this blog post, Bintray was sunset starting May 1st and it is now no longer possible to download spring-kotlin-coroutine using the instructions in the README. The download link now returns a 403 error, and none of the files are accessible. Is there an alternative hosting solution currently available? Or maybe publishing to Maven Central as requested in #42 would be a feasible approach?