You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2022/11/07 11:29:57 UTC

[GitHub] [incubator-pekko] gmethvin commented on issue #22: Provide an automated migration to migrate from akka to pekko

gmethvin commented on issue #22:
URL: https://github.com/apache/incubator-pekko/issues/22#issuecomment-1305471337

   I think the first step here is understanding all the things that would need to change in someone's app, so we can develop a strategy for each.
   
   The first obvious step is to change the akka-* dependencies to pekko-* dependencies, and replace the package name in the codebase. But I'd imagine most production applications running Akka have at least one third-party dependency that's not an official Akka library, so we also need to migrate those to the equivalent compatible version. Maybe the best solution there is to allow the user to provide a mapping of dependencies (groupId, artifactId, version) to their pekko equivalents, and we can provide a suggested mapping for common libraries.
   
   Another tricky thing is how to handle configuration. I think it's too risky to just provide a tool to migrate the configuration file itself, since configuration can come from many different sources in a real production app. We'd probably want a way to tell pekko to look at both pekko and akka prefixes, or a list of arbitrary user-specified config prefixes.
   
   Then there's the question of how to migrate akka remote/artery applications away from `akka://`. This is another situation where we probably want to make it configurable in Pekko, so the user initially wouldn't have to do anything.
   
   Ultimately I imagine what we'd want to have is a migration guide, with some automated tools to handle parts of the migration.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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