Skip to content

Commit

Permalink
add allowed classes for proto migration (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zen Yui authored Apr 5, 2021
1 parent 6bddffd commit 15d7890
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/service/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jdbc-default {
}

akka {
# this allows our application to use the old akka proto
# serializer to read the journal pre-migration
serialization.protobuf.allowed-classes = [
"com.namely.protobuf.chiefofstate.v1.persistence.EventWrapper",
"com.namely.protobuf.chiefofstate.v1.persistence.StateWrapper"
]

loglevel = ERROR
loglevel = ${?LOG_LEVEL}
log-dead-letters-during-shutdown = on
Expand Down

0 comments on commit 15d7890

Please sign in to comment.