Example #1
0
        public override ShardingBigtablePersistence CreateExtension(ExtendedActorSystem system)
        {
            system.Settings.InjectTopLevelFallback(ShardingBigtablePersistence.DefaultConfig);

            var journalSettings =
                BigtableJournalSettings.Create(
                    system.Settings.Config.GetConfig("akka.persistence.journal.bigtable-sharding"));

            var snapshotSettings =
                BigtableSnapshotSettings.Create(
                    system.Settings.Config.GetConfig("akka.persistence.snapshot-store.bigtable-sharding"));

            var transportSerializationSetttings =
                BigtableTransportSerializationSettings.Create(
                    system.Settings.Config.GetConfig("akka.persistence.transport-serialization.bigtable"));

            return(new ShardingBigtablePersistence(journalSettings, snapshotSettings, transportSerializationSetttings));
        }
Example #2
0
 public BigtablePersistence(BigtableJournalSettings bigtableJournalSettings, BigtableSnapshotSettings bigtableSnapshotSettings, BigtableTransportSerializationSettings transportSerialization)
 {
     JournalSettings  = bigtableJournalSettings;
     SnapshotSettings = bigtableSnapshotSettings;
     TransportSerializationSetttings = transportSerialization;
 }
Example #3
0
 public ShardingBigtablePersistence(
     BigtableJournalSettings bigtableJournalSettings,
     BigtableSnapshotSettings bigtableSnapshotSettings,
     BigtableTransportSerializationSettings transportSerialization) : base(bigtableJournalSettings, bigtableSnapshotSettings, transportSerialization)
 {
 }