Comments (3)
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.
-
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.
-
I have to enable the local route (and maybe a few other things) in config.
-
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.
It was a stupid error... I fixed it already. Thanks anyway!
from akkadotnet-code-samples.
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)
- Concurrent Processing of Messages from a RabbitMq Queue HOT 1
- Remote Deployment Sample Nuget Package Conflict
- Stopping actor's children on PreRestart
- Orderly shutdown and recovery of nodes HOT 2
- Definition of "resilient"? HOT 1
- Expand WebCrawler README to include docker-compose instructions HOT 3
- HAP has moved
- WebCrawler.TrackerService\Actors\IO\CrawlMaster.EndJob bug
- Code needs better inline comments
- What is the reason behind having a DownloadsMaster next to the ApiMaster?
- PipeTo Self or Originator ?
- FeedParserCoordinator ErrorParsingFeed prints wrong data
- akkadotnet-code-samples HttpDownloaderActor doesn't Dispose()
- Why to use get-dockerip.sh to perform a DNS resolution?
- get-dockerip.sh: line 11: syntax error: unexpected end of file HOT 4
- akka
- Add WebCrawler that does not use Akka.Streams
- WebCrawler. Router has no routees.
- Did you intend to close all open issues? HOT 4
- Modernizing Akka.NET Examples HOT 7
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 akkadotnet-code-samples.