Ejemplo n.º 1
0
        public string ToClusterSeedNodeSystemConfig(params IAkkaNetworkAddress[] otherSeeds)
        {
            var cfg = new RootConfig(
                new LogConfig(_logVerbosity, false),
                ClusterConfig.SeedNode(Network, otherSeeds),
                new PersistenceConfig(new PersistenceJournalConfig(Persistence, new DomainEventAdaptersConfig()),
                                      new PersistenceSnapshotConfig(this)));

            return(cfg.Build());
        }
Ejemplo n.º 2
0
 public ActorSystemBuilder ClusterSeed(NodeConfiguration thisSeed, params INodeNetworkAddress[] otherSeeds)
 {
     Add(ClusterConfig.SeedNode(thisSeed, otherSeeds));
     return(this);
 }