public static ClusterConfig SeedNode(IAkkaNetworkAddress address, params IAkkaNetworkAddress[] otherSeeds) { var allSeeds = otherSeeds.Union(new[] { address }); var seedNodes = allSeeds.Select(GetSeedNetworkAddress).ToArray(); return(new ClusterConfig(address, seedNodes)); }
public AkkaConfiguration(IAkkaNetworkAddress networkConf, IAkkaDbConfiguration dbConf, LogVerbosity logVerbosity = LogVerbosity.Warning) { Network = networkConf; Persistence = dbConf; _logVerbosity = logVerbosity; }
public GridNodeConnector(IAkkaNetworkAddress serverAddress, AkkaConfiguration clientConfiguration = null) { _serverAddress = serverAddress; var conf = clientConfiguration ?? new ConsoleAkkaConfiguretion(); _consoleSystem = conf.CreateInMemorySystem(); DomainEventsJsonSerializationExtensionProvider.Provider.Apply(_consoleSystem); }
protected RemoteActorConfig(IAkkaNetworkAddress config) : this(config.PortNumber, config.Host, config.PublicHost, config.EnforceIpVersion) { }
public ClusterConfig(IAkkaNetworkAddress config, params string[] seedNodes) : base(config) { _seedNodes = seedNodes; }
private static string GetSeedNetworkAddress(IAkkaNetworkAddress conf) { string networkAddress = $"akka.tcp://{conf.SystemName}@{conf.Host}:{conf.PortNumber}"; return(networkAddress); }
public static ClusterConfig NonSeedNode(IAkkaNetworkAddress address, IAkkaNetworkAddress[] seedNodesAddresses) { var seedNodes = seedNodesAddresses.Select(GetSeedNetworkAddress).ToArray(); return(new ClusterConfig(new AkkaNetworkAddress(address.SystemName, address.Host, 0), seedNodes)); }
public static string ToRootSelectionPath(this IAkkaNetworkAddress adr) { return($"akka.tcp://{adr.SystemName}@{adr.Host}:{adr.PortNumber}/user"); }
public StandAloneConfig(IAkkaNetworkAddress address) : base(address) { }