wix / greyhound

Greyhound - Rich Kafka client library
MIT License
515 stars 37 forks source link

ZIO 2.x migration? #445

Closed exp0nge closed 12 hours ago

exp0nge commented 2 years ago

Are there plans to support ZIO 2.x? https://zio.dev/next/howto/migrate/zio-2.x-migration-guide/

One of the issues:

java.lang.NoClassDefFoundError: zio/Has$
        at com.wixpress.dst.greyhound.future.GreyhoundRuntime$.<init>(GreyhoundRuntime.scala:25)
        at com.wixpress.dst.greyhound.future.GreyhoundRuntime$.<clinit>(GreyhoundRuntime.scala)
leonbur commented 2 years ago

There are some internal discussions about ZIO 2.0. However since it's not GA yet, talking about timelines is moot at this point.

natansil commented 2 years ago

are you currently using ZIO 1.0 greyhound? I think it would be hard to support both 1.0 and 2.0 by greyhound...

exp0nge commented 2 years ago

are you currently using ZIO 1.0 greyhound? I think it would be hard to support both 1.0 and 2.0 by greyhound...

No, but thought this was a good candidate for a client lib.

We have a monorepo so not possible to undo that decision to use 2.x ZIO

natansil commented 2 years ago

same for us. we will migrate between first GA and first patch version...

rbraley commented 2 years ago

This is blocking us from using greyhound in our monorepo as well, since we have some 2.x zio elsewhere. Glad to hear this is a priority for you folks as well @natansil

rbraley commented 2 years ago

Zio 2.0 is GA now, yay!

natansil commented 2 years ago

yep. we are in the process of migrating our private code base to ZIO 2.0 once that process is merged, the changes will automatically sync to public code. No concrete ETA, but this is a high priority for us

exp0nge commented 2 years ago

Hi @natansil, any chance there's an update? 😃

natansil commented 2 years ago

Hi, We will release a new greyhound version with ZIO 2.0 soon. I will update here when it's out.

natansil commented 1 year ago

@exp0nge I'm so sorry for the delay. We had issues with several ZIO versions, but we are happy with the stability and perfomance of zio 2.0.5 I've published a new version to maven-central for greyhound 0.3.1 which we depends on zio 2.0.5. https://repo1.maven.org/maven2/com/wix/greyhound-core_2.12/0.3.1/