question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve documentation for manually joining a cluster

See original GitHub issue

http://www.lagomframework.com/documentation/1.2.x/java/Cluster.html#Joining-without-ConductR

Here’s the current example:

akka.cluster.seed-nodes = [
  "akka.tcp://MyService@host1:2552",
  "akka.tcp://MyService@host2:2552"]

A few notes:

  • MyService needs to be the name of the actor system “it should match play.akka.actor-system, which defaults to application
  • As a shortcut for a single-node cluster, you can specify lagom.cluster.join-self = on
  • It would be more helpful to integrate this into the documentation for running in production: I didn’t think to look for it here

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:8
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
edouardKaisercommented, Mar 22, 2017

Thanks Tim, yes I was talking about Java. Should have been more explicit. I thought about the constructor too of the service with the ActorSystem injection, was curious if there was a better way. All good 👍

1reaction
jousbycommented, Feb 20, 2017

Ok thanks. All sorted now ( #500 ).

If it helps with the doco fix… I was rereading the Persistent Entity documentation assuming I had missed some config option along the lines of ‘turn off sharding if using jdbc’. Might be worth putting a pointer in that section to the page on clusters as that is likely the point at which most people will strike this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and Manage a Cluster Manually
Manual management of a cluster is only possible for clusters that have been manually created. To manually change the configuration of a cluster...
Read more >
Joining Nodes to Clusters | Couchbase Docs
To ensure cluster-security, in Couchbase Server Version 7.1.1+, restrictions can be placed on joining, based on the establishment of node-naming conventions.
Read more >
Install the new nodes and join them to the cluster
You must install the new nodes and join them to the cluster so that you can move volumes from the original nodes. About...
Read more >
Cluster Usage • Akka Documentation
This document describes how to use Akka Cluster and the Cluster APIs. ... seed node functions, you need to join the cluster manually...
Read more >
Add a cluster member - Splunk Documentation
The conf_deploy_fetch_url parameter specifies the URL and management port for the deployer instance. You must set it when adding a new member to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found