Search code examples
scalaakka

Eligosource / eventsourced Library after Scala upgrade from 2.10.0 to 2.13.10 version


I have a Scala / Akka project that uses Scala version 2.10.0 and I'm looking to upgrade it to version 2.13.10, but I found that one of the libraries it uses is eligosource-eventsourced which I saw that is compatible up to 2.10.2 Scala version, so I was wondering if do you know any alternative for replacing this library? or is there anyway to use it even with the Scala Upgrade? Thank you and I look forward for your comments.

I'm working in a OSGI environment so I was pretending to find a way, if possible to make the bundle point to the new Scala version, but also I know that there are big chances for it fail, due that the library is at the end compiled with 2.10.0 version


Solution

  • I Haven't worked with eligosource-eventsourced, but looks like the last commit was on Dec 12, 2013. It's not marked as archived, but I guess it's not being maintained anymore.

    Since you are working with akka, you can consider to use akka-persistence, which is the module that akka offers for event sourcing.

    I'm only suggesting akka-persistence because you said that you are working on an akka environment. Of course you can find more libs for event sourcing in Scala, each one with pros and cons. Everything will depend on the context of the project. but that could lead to an opinion based discussion which is something that the community try to avoid.

    Hope this helps