public static DistributedPubSubSettings Create(ActorSystem system) { var config = system.Settings.Config.GetConfig("akka.cluster.pub-sub"); if (config == null) throw new ArgumentException("Actor system settings has no configuration for akka.cluster.pub-sub defined"); return Create(config); }
/// <summary> /// TBD /// </summary> /// <param name="system">TBD</param> public DistributedPubSub(ExtendedActorSystem system) { _system = system; _settings = DistributedPubSubSettings.Create(system); _cluster = Cluster.Get(_system); _mediatorRef = CreateMediator(); }