How to know initial contacts for Akka Cluster Client?Akka and state among actors in clusterakka cluster seed nodes give error: dropping message for non-local recipientSame routing behavior on different nodes/routersAkka Peer-to-Peer (Remoting) vs. Client-Server (Websockets)What's the best way to get members of an Akka cluster?Can Akka Cluster Client Send Messages to Cluster Nodes Not in Initial Contacts?Akka Singleton Cluster: resolveOnce of a worker by master fails after restartHow are remote actors created on joining of new nodes in akka?Akka design: How to add/remove routee from cluster aware router dynamicallySharding by traffic using Akka actors

Early 2000s movie about time travel, protagonist travels back to save girlfriend, then into multiple points in future

Why wasn't ASCII designed with a contiguous alphanumeric character order?

Could you fall off a planet if it was being accelerated by engines?

How to describe POV characters?

Reusable spacecraft: why still have fairings detach, instead of open/close?

Why were the first airplanes "backwards"?

13th chords on guitar

A quine of sorts

Avoiding repetition when using the "snprintf idiom" to write text

How to securely dispose of a smartphone?

Discworld quote about an "old couple" who having said everything to each other, can finally go about living their lives

Origin of the convolution theorem

If a USA citizen marries a foreign citizen who has a kid from a previous marriage

Cup and Trade: The Perfect Nutmeg Soup

Prime in substituted benzene

Bin Packing with Relational Penalization

Ways to get SMD resistors from a strip

What do you call a notepad used to keep a record?

Iterate over deepest values in a nested Association

Can purchasing tickets for high holidays services count as maaser?

If I were to build a J3 cub twice the size of the original using the same CG would it fly?

How far can gerrymandering go?

Why was p[:] designed to work differently in these two situations?

My colleague is constantly blaming me for his errors



How to know initial contacts for Akka Cluster Client?


Akka and state among actors in clusterakka cluster seed nodes give error: dropping message for non-local recipientSame routing behavior on different nodes/routersAkka Peer-to-Peer (Remoting) vs. Client-Server (Websockets)What's the best way to get members of an Akka cluster?Can Akka Cluster Client Send Messages to Cluster Nodes Not in Initial Contacts?Akka Singleton Cluster: resolveOnce of a worker by master fails after restartHow are remote actors created on joining of new nodes in akka?Akka design: How to add/remove routee from cluster aware router dynamicallySharding by traffic using Akka actors






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








8















Akka Cluster Client requires a list of initial nodes that it can contact in order to be in touch with the cluster. It seems that one has to provide at least one exact node address and port. In our environment where it's managed by DC/OS, cluster members can have dynamic address and port association.
What's the best way to resolve this? Is there something like Akka Cluster Management support for the Cluster Client?










share|improve this question




























    8















    Akka Cluster Client requires a list of initial nodes that it can contact in order to be in touch with the cluster. It seems that one has to provide at least one exact node address and port. In our environment where it's managed by DC/OS, cluster members can have dynamic address and port association.
    What's the best way to resolve this? Is there something like Akka Cluster Management support for the Cluster Client?










    share|improve this question
























      8












      8








      8








      Akka Cluster Client requires a list of initial nodes that it can contact in order to be in touch with the cluster. It seems that one has to provide at least one exact node address and port. In our environment where it's managed by DC/OS, cluster members can have dynamic address and port association.
      What's the best way to resolve this? Is there something like Akka Cluster Management support for the Cluster Client?










      share|improve this question














      Akka Cluster Client requires a list of initial nodes that it can contact in order to be in touch with the cluster. It seems that one has to provide at least one exact node address and port. In our environment where it's managed by DC/OS, cluster members can have dynamic address and port association.
      What's the best way to resolve this? Is there something like Akka Cluster Management support for the Cluster Client?







      akka akka-cluster






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 14:45









      kciesielskikciesielski

      6585 silver badges14 bronze badges




      6585 silver badges14 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          One way you can achieve that is to use a separate instance of Zookeeper on you DC/OS and use that as a single source of truth for your akka cluster nodes. To manage that you can use a library called akka-zk-cluster-seed from here



          Example config for your cluster client would be smth like this:



          akka.cluster.client 
          zookeeper
          url = $ZOOKEEPER_ADDR
          path = "/akka/cluster/seed"

          establishing-get-contacts-interval = 3s
          refresh-contacts-interval = 60s
          heartbeat-interval = 2s
          acceptable-heartbeat-pause = 5s
          buffer-size = 5000




          where the only thing you need to know is your zookeeper location.






          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55340422%2fhow-to-know-initial-contacts-for-akka-cluster-client%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            One way you can achieve that is to use a separate instance of Zookeeper on you DC/OS and use that as a single source of truth for your akka cluster nodes. To manage that you can use a library called akka-zk-cluster-seed from here



            Example config for your cluster client would be smth like this:



            akka.cluster.client 
            zookeeper
            url = $ZOOKEEPER_ADDR
            path = "/akka/cluster/seed"

            establishing-get-contacts-interval = 3s
            refresh-contacts-interval = 60s
            heartbeat-interval = 2s
            acceptable-heartbeat-pause = 5s
            buffer-size = 5000




            where the only thing you need to know is your zookeeper location.






            share|improve this answer



























              0














              One way you can achieve that is to use a separate instance of Zookeeper on you DC/OS and use that as a single source of truth for your akka cluster nodes. To manage that you can use a library called akka-zk-cluster-seed from here



              Example config for your cluster client would be smth like this:



              akka.cluster.client 
              zookeeper
              url = $ZOOKEEPER_ADDR
              path = "/akka/cluster/seed"

              establishing-get-contacts-interval = 3s
              refresh-contacts-interval = 60s
              heartbeat-interval = 2s
              acceptable-heartbeat-pause = 5s
              buffer-size = 5000




              where the only thing you need to know is your zookeeper location.






              share|improve this answer

























                0












                0








                0







                One way you can achieve that is to use a separate instance of Zookeeper on you DC/OS and use that as a single source of truth for your akka cluster nodes. To manage that you can use a library called akka-zk-cluster-seed from here



                Example config for your cluster client would be smth like this:



                akka.cluster.client 
                zookeeper
                url = $ZOOKEEPER_ADDR
                path = "/akka/cluster/seed"

                establishing-get-contacts-interval = 3s
                refresh-contacts-interval = 60s
                heartbeat-interval = 2s
                acceptable-heartbeat-pause = 5s
                buffer-size = 5000




                where the only thing you need to know is your zookeeper location.






                share|improve this answer













                One way you can achieve that is to use a separate instance of Zookeeper on you DC/OS and use that as a single source of truth for your akka cluster nodes. To manage that you can use a library called akka-zk-cluster-seed from here



                Example config for your cluster client would be smth like this:



                akka.cluster.client 
                zookeeper
                url = $ZOOKEEPER_ADDR
                path = "/akka/cluster/seed"

                establishing-get-contacts-interval = 3s
                refresh-contacts-interval = 60s
                heartbeat-interval = 2s
                acceptable-heartbeat-pause = 5s
                buffer-size = 5000




                where the only thing you need to know is your zookeeper location.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 27 at 5:01









                KrisKris

                4,8532 gold badges22 silver badges43 bronze badges




                4,8532 gold badges22 silver badges43 bronze badges


















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55340422%2fhow-to-know-initial-contacts-for-akka-cluster-client%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript