public EventStorePersistenceExtension(ExtendedActorSystem system) { system.Settings.InjectTopLevelFallback(EventStorePersistence.DefaultConfiguration()); EventStoreJournalSettings = new EventStoreJournalSettings(system.Settings.Config.GetConfig(EventStoreJournalSettings.ConfigPath)); EventStoreSnapshotSettings = new EventStoreSnapshotSettings(system.Settings.Config.GetConfig(EventStoreSnapshotSettings.ConfigPath)); }
public EventStorePersistenceExtension(ExtendedActorSystem system) { system.Settings.InjectTopLevelFallback(EventStorePersistence.DefaultConfiguration()); var persistence = system.Settings.Config.GetConfig("akka.persistence"); TenantIdentifier = persistence.GetString("tenant-identifier", string.Empty); EventStoreJournalSettings = new EventStoreJournalSettings(system.Settings.Config.GetConfig(EventStoreJournalSettings.ConfigPath)); EventStoreSnapshotSettings = new EventStoreSnapshotSettings(system.Settings.Config.GetConfig(EventStoreSnapshotSettings.ConfigPath)); }