less4s.endless-transaction-akka_2.13.0.4.0.source-code.reference.conf Maven / Gradle / Ivy
The newest version!
endless.transaction.akka {
# Parameters for retries in self-messaging i.e. the branch side-effect notifying the transaction entity
# about the protocol phase result. It could be that the transaction gets rebalanced to another
# node in the meantime, so we need to need to retry if the cluster doesn't respond in a timely
# manner.
retries {
initial-delay = 5s # initial delay before the first retry
max-retries = 10 # maximum number of retries to avoid cascading failures
}
# Akka's ask timeout for the transaction entity
ask-timeout = 60s
}
akka {
actor {
serializers {
scalapb-serializer = "endless.runtime.akka.protobuf.ScalaPbSerializer"
}
serialization-identifiers {
"endless.runtime.akka.protobuf.ScalaPbSerializer" = 424242
}
serialization-bindings {
"endless.transaction.proto.events.TransactionEvent" = scalapb-serializer
}
}
cluster {
sharding {
# guaranteed pending transaction recovery
remember-entities = on
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy