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;
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
add a comment |
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
add a comment |
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
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
akka akka-cluster
asked Mar 25 at 14:45
kciesielskikciesielski
6585 silver badges14 bronze badges
6585 silver badges14 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 27 at 5:01
KrisKris
4,8532 gold badges22 silver badges43 bronze badges
4,8532 gold badges22 silver badges43 bronze badges
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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