Multi dc replication using two Yugabyte instances

Viewed 73

I'm running the sample project from How to setup akka persistence project : https://developer.lightbend.com/start/?group=akka&project=akka-samples-persistence-dc-java

application.conf:

  cluster {
    seed-nodes = [
      "akka://ClusterSystem@127.0.0.1:2551",
      "akka://ClusterSystem@127.0.0.1:2552"]

    # Needed when running many actor systems in the same JVM
    jmx.multi-mbeans-in-same-jvm = on

    downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider"

    multi-data-center {
      self-data-center = "eu-west"
    }
  }

Have configured 2 hosts running Yugabyte:

http://yugabyte_db_1:7000/
http://yugabyte_db_2:7000/

Where to set the configuration that allows replication between each Yugaybte data source?

Should it be set within the seed-nodes configuration? :

 seed-nodes = [
      "akka://ClusterSystem@127.0.0.1:2551",
      "akka://ClusterSystem@127.0.0.1:2552"]

Looking at the Yugabyte config I'm unsure where the config is exposed which points to the seed nodes :

enter image description here

1 Answers
Related