Skip to content

Commit

Permalink
Merge branch 'master' into improve-raft-actor-allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
tksugimoto authored Jun 14, 2021
2 parents e64cab3 + 1d5495e commit 86219e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package lerna.akka.entityreplication

import akka.actor.{ ActorRef, ExtendedActorSystem, Extension, ExtensionId, Props }
import akka.actor.{ ActorRef, ExtendedActorSystem, Extension, ExtensionId, ExtensionIdProvider, Props }
import lerna.akka.entityreplication.model.TypeName
import lerna.akka.entityreplication.raft.eventsourced.{ CommitLogStore, ShardedCommitLogStore }

object ClusterReplication extends ExtensionId[ClusterReplication] {
object ClusterReplication extends ExtensionId[ClusterReplication] with ExtensionIdProvider {

override def lookup: ExtensionId[_ <: Extension] = ClusterReplication

override def createExtension(system: ExtendedActorSystem): ClusterReplication = new ClusterReplication(system)

Expand Down
3 changes: 3 additions & 0 deletions src/multi-jvm/resources/multi-jvm-testing.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ akka {
loglevel = "DEBUG"
logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
}

akka.extensions = ["lerna.akka.entityreplication.ClusterReplication"]

akka.actor {
provider = cluster
allow-java-serialization = off
Expand Down

0 comments on commit 86219e0

Please sign in to comment.