Пример #1
0
        public string ToClusterNonSeedNodeSystemConfig(params IAkkaNetworkAddress[] seeds)
        {
            var cfg = new RootConfig(
                new LogConfig(_logVerbosity, false),
                ClusterConfig.NonSeedNode(Network, seeds),
                new PersistenceConfig(new PersistenceJournalConfig(Persistence, new DomainEventAdaptersConfig()),
                                      new PersistenceSnapshotConfig(this)));

            return(cfg.Build());
        }
Пример #2
0
 public ActorSystemBuilder ClusterNonSeed(NodeConfiguration thisSeed, params INodeNetworkAddress[] otherSeeds)
 {
     Add(ClusterConfig.NonSeedNode(thisSeed, otherSeeds));
     return(this);
 }