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);
}