Merge pull request #27810 from akka/wip-more-deprecation-1-patriknw

Deprecate akka.Main
This commit is contained in:
Patrik Nordwall 2019-10-01 14:06:37 +02:00 committed by GitHub
commit 77ecb2e627
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -71,7 +71,7 @@ The plugin configuration might look like this:
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>akka.Main</Main-Class>
<Main-Class>myapp.Main</Main-Class>
</manifestEntries>
</transformer>
</transformers>

View file

@ -95,6 +95,11 @@ Warnings about `TypedActor` have been [mentioned in documentation](https://doc.a
for many years.
### akka.Main
`akka.Main` is deprecated in favour of starting the `ActorSystem` from a custom main class instead. `akka.Main` was not
adding much value and typically a custom main class is needed anyway.
@@ Remoting
### Default remoting is now Artery TCP