Giter VIP home page Giter VIP logo

actors-migration's Introduction

For information on the Actors Migration Kit please refer to the project page.

Development notes

To build this project you will need the latest SBT.

actors-migration's People

Contributors

adriaanm avatar gkossakowski avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

actors-migration's Issues

Minor gotcha in Step 5

This is not a bug or a problem with the migration guide; in fact, the migration guide was a terrific help. But my mistake may provide a helpful warning to others.

I just completed the migration to Akka but I wasted a lot of time on one stupid error. In creating a variable to hold the ActorSystem, I placed it in the root ancestor of my Actors. Of course, this meant that each Actor used its own ActorSystem. Comparing Actors then didn't work because actors in different systems with similar names all compared as equal. This type of issue was not be caught by earlier steps because they don't implement the ActorSystem. When my code didn't work at all, I had to painstakingly trace through the code to find the problem.

The ActorSystem is not something that those using Scala Actors are used to, so it might help others to provide a warning to place the ActorSystem reference in an object, rather than a class.

Step 5 should mention importing ActorDSL._

With code compiling after following steps 1-4, this fails at Step 5 due to ActWithStash not being available. My presumed solution was to import ActorDSL.. Although the list of imports is "not exhaustive", at least ActorDSL. should be listed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.