public SubscriptionManager(ActorSystem actorSystem, IAtomDocumentSettings atomDocumentSettings) { var settings = ClusterShardingSettings.Create(actorSystem); var props = Props.Create(() => new SubscriptionActor(atomDocumentSettings)); var messageExtractor = new LoggingMessageExtractorDecorator(new SubscriptionMessageExtractor(), actorSystem.Log); SubscriptionActorRef = ClusterSharding.Get(actorSystem).Start( typeName: "SubscriptionActor", entityProps: props, settings: settings, messageExtractor: messageExtractor); }