spring-kotlin-coroutine icon indicating copy to clipboard operation
spring-kotlin-coroutine copied to clipboard

Bintray sunset, can't download dependency

Open MaxwellPayne opened this issue 3 years ago • 8 comments

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?

MaxwellPayne avatar May 03 '21 18:05 MaxwellPayne

Is there any solution to this? @MaxwellPayne @konrad-kaminski

simodefes avatar Jun 11 '21 10:06 simodefes

@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 avatar Jun 11 '21 11:06 r6q

@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.

simodefes avatar Jun 11 '21 14:06 simodefes

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.

r6q avatar Jun 12 '21 10:06 r6q

Confirmed that upgrading Spring Boot to > 2.5 removes the need for this library.

phillipuniverse avatar Aug 02 '21 19:08 phillipuniverse

What about CoroutineApplicationEventPublisher and @EventListener? AFAIK, Spring still does not offer same functionality out of the box.

a-ivanov avatar Oct 26 '21 19:10 a-ivanov

Btw, spring @Cacheable still doesn't work well with suspend functions

Djaler avatar Jun 11 '22 20:06 Djaler

@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.

hantsy avatar Aug 25 '22 03:08 hantsy