Comments (4)
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.
from incubator-pekko.
Another tricky area will be migration of akka persistence. Especially around the serializers as they might leak some akka references too.
from incubator-pekko.
I guess, documenting trial and error hand conversions with 'early builds' would be meaningful input?
from incubator-pekko.
I'm setting up a simple scalafix rule to at least take care of the imports in Scala files (though that's also easy to change using search/replace).
from incubator-pekko.
Related Issues (20)
- license: acknowledge use of netty code HOT 1
- license: acknowledge use of codahale code HOT 5
- other source files to add licenses to HOT 4
- Drop the shaded protobuf? HOT 1
- use standard pekko notice in jars (except when additions needed) HOT 1
- migrate incubator-pekko-samples to use pekko snapshots HOT 6
- rewrite pekko-platform-guide to use pekko artifacts and to remove Akka refs HOT 3
- remove or replace algolia and google analytics properties HOT 1
- update signature and fiddle properties in project/Paradox.scala HOT 1
- correct values for project-info.conf jdk-versions HOT 1
- current value for project-info.conf release notes link
- Introduce a timer source api? HOT 6
- Remove explicit handling of `java8Home` entirely in Pekko sbt build HOT 3
- See if `scripts/link-validator.conf` can accept wildcards to remove needing to specify Scala minor versions
- Make BroadcastHub only start pulling after atleast one Consumer attached to it?
- Investigate removal of bespoke JDK 1.8 `rt.jar` handling
- Investigate fixing exhaustive match issues in Pekko codebase HOT 5
- Move akka.japi. to java.util.function. HOT 2
- FAILED: HandshakeRetrySpec HOT 1
- Update the deprecate messages HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-pekko.