GitHub user mdedetrich edited a discussion: Replace typesafe config for sconfig 
for Pekko 2.0.0

This was brought up some time ago (if someone can find the discussion then 
please link it) but I want to raise this again, basically moving from lightbend 
config to [sconfig](https://github.com/ekrich/sconfig). Currently Pekko uses 
typesafe config as its main configuration library however there are many issues 
with it

- Lightbend config [no longer really being 
maintained](https://github.com/lightbend/config/issues/789) and aside from akka 
we seem to be the only main library using it (most of the Scala community has 
moved to sconfig)
  - Using a library that is largely unmaintained puts at risk of issues, given 
pekko itself has limited capacity its best to make sure our dependencies are 
well maintained. We have already begun removing libraries such as 
[sslconfig](https://github.com/lightbend/ssl-config) for this same reason
- sconfig aside from being [actively 
maintained](https://github.com/ekrich/sconfig?tab=readme-ov-file#versions), its 
used by many large non trivial projects including
  - scalafmt
  - scalafix
- sconfig supports all major versions of Scala (2.12/2.13/3.3) along with 
scala.js and scala-native. Pekko doesn't have these targets, but using sconfig 
helps open up this possibility
- sconfig has no real impact on java users, in fact aside from the raw package 
name/imports the API is exactly the same (this was done intentionally), see 
https://github.com/ekrich/sconfig/tree/main/sconfig/shared/src/main/scala/org/ekrich/config
  - The migration is so trivial that they actually provide their own [migration 
tool](https://github.com/ekrich/sconfig?tab=readme-ov-file#migrating-an-existing-lightbendconfig-project-to-sconfig)
  
@raboof @pjfanning @raboof Thoughts?

GitHub link: https://github.com/apache/pekko/discussions/2186

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to