Skip to content

Instantly share code, notes, and snippets.

@kucheruk
Last active January 25, 2017 13:26
Show Gist options
  • Save kucheruk/8ad58a5d1386355e807a4fea11ff6577 to your computer and use it in GitHub Desktop.
Save kucheruk/8ad58a5d1386355e807a4fea11ff6577 to your computer and use it in GitHub Desktop.
Сериализируем сообщения из Akka.NET Cluster Sharding в Akka.Persistence.MongoDB #3
actor {
serializers {
akka-persistence-message = "Akka.Persistence.Serialization.MessageSerializer, Akka.Persistence"
akka-persistence-snapshot = "Akka.Persistence.Serialization.SnapshotSerializer, Akka.Persistence"
akka-singleton = "Akka.Cluster.Tools.Singleton.Serialization.ClusterSingletonMessageSerializer, Akka.Cluster.Tools"
akka-sharding = "Akka.Cluster.Sharding.Serialization.ClusterShardingMessageSerializer, Akka.Cluster.Sharding"
}
serialization-bindings {
"Akka.Persistence.Serialization.IMessage, Akka.Persistence" = akka-persistence-message
"Akka.Persistence.Serialization.Snapshot, Akka.Persistence" = akka-persistence-snapshot
"Akka.Cluster.Tools.Singleton.IClusterSingletonMessage, Akka.Cluster.Tools" = akka-singleton
"Akka.Cluster.Sharding.IClusterShardingSerializable, Akka.Cluster.Sharding" = akka-sharding
}
serialization-identifiers {
"Akka.Persistence.Serialization.MessageSerializer, Akka.Persistence" = 7
"Akka.Persistence.Serialization.SnapshotSerializer, Akka.Persistence" = 8
"Akka.Cluster.Tools.Singleton.Serialization.ClusterSingletonMessageSerializer, Akka.Cluster.Tools" = 14
"Akka.Cluster.Sharding.Serialization.ClusterShardingMessageSerializer, Akka.Cluster.Sharding" = 13
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment