GithubHelp home page GithubHelp logo

Comments (3)

michaelsync avatar michaelsync commented on July 29, 2024 1

I committed the fix code with a bit different file structure in this branch https://github.com/michaelsync/APMDemo/tree/allinoneproject

There were two issues.

  1. I thought I can sent the string message from one actor to another cross project. I was wrong. It seems like I need to create a custom message class that implemented "IConsistentHashable" since I am using consistent hash routing. Correct me if I am wrong.

  2. I have to enable the local route (and maybe a few other things) in config.

  3. If the role of the seed in main project and the role in other project are different then it won't work too. So, I needed to give the same name.

    cluster {
            #will inject this node as a self-seed node at run-time
    seed-nodes = ["akka.tcp://[email protected]:2553"] #manually populate other seed nodes here, i.e. "akka.tcp://[email protected]:4053", "akka.tcp://[email protected]:4044"                          
    auto-down-unreachable-after = 10s
            roles = [job2]
    

    }

Anyways, it's working now. but still one-to-one tho... ( The Actor "BackEndJobCoordinationActor" from JobManager project can send the message to the actor "BackEndJobAActor" from BackEndJobContainer project )

Now, I am trying to see if I can make one-to-many actors communication working or not.

from akkadotnet-code-samples.

michaelsync avatar michaelsync commented on July 29, 2024

It was a stupid error... I fixed it already. Thanks anyway!

from akkadotnet-code-samples.

Caldas avatar Caldas commented on July 29, 2024

What was your error? Can you explain a Little bit?

-----Mensagem Original-----
De: "michaelsync" [email protected]
Enviada em: ‎26/‎08/‎2015 12:25
Para: "petabridge/akkadotnet-code-samples" [email protected]
Assunto: Re: [akkadotnet-code-samples] Unable to communicate between actors inCluster (#34)

It was a stupid error... I fixed it already. Thanks anyway!

Reply to this email directly or view it on GitHub.

from akkadotnet-code-samples.

Related Issues (20)

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.