bahir-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ckadner <...@git.apache.org>
Subject [GitHub] bahir pull request #24: [BAHIR-64] add Akka streaming test (send/receive)
Date Wed, 02 Nov 2016 21:38:22 GMT
Github user ckadner commented on a diff in the pull request:

    https://github.com/apache/bahir/pull/24#discussion_r86248567
  
    --- Diff: streaming-akka/src/main/scala/org/apache/spark/streaming/akka/ActorReceiver.scala
---
    @@ -65,6 +65,7 @@ object ActorReceiver {
         val akkaConf = ConfigFactory.parseString(
           s"""akka.actor.provider = "akka.remote.RemoteActorRefProvider"
              |akka.remote.enabled-transports = ["akka.remote.netty.tcp"]
    +         |akka.remote.netty.tcp.port = "0"
    --- End diff --
    
    we set it to `"0"` to have the port chosen automatically for the _Feeder_ actor and the
_Receiver_ actor will "pick it up" when it subscribes to the _Feeder_ actor [Akka Remoting
docs](http://doc.akka.io/docs/akka/2.3.11/scala/remoting.html#Preparing_your_ActorSystem_for_Remoting)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message