Eligosource / eventsourced库在将Scala升级从2.10.0到2.13.10版本后。

huangapple go评论60阅读模式
英文:

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

问题

我有一个Scala / Akka项目,使用的Scala版本是2.10.0,我想要升级到2.13.10版本,但我发现它使用的一个库是eligosource-eventsourced,我看到它只兼容到2.10.2的Scala版本,所以我想知道是否有替代方案来替换这个库?或者是否有办法在进行Scala升级的情况下继续使用它?谢谢,期待您的意见。

我正在一个OSGI环境中工作,所以我希望找到一个方法,如果可能的话,让这个bundle指向新的Scala版本,但我也知道它可能会失败,因为这个库最终是使用2.10.0版本编译的。

英文:

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

答案1

得分: 0

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 using 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 in an akka environment. Of course, you can find more libraries 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 tries to avoid.

Hope this helps.

英文:

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

huangapple
  • 本文由 发表于 2023年5月29日 23:06:47
  • 转载请务必保留本文链接:https://go.coder-hub.com/76358432.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定