akka/akka-core

Custom manifest naming for persistence with Jackson

Open

#30,483 opened on 2021年8月5日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)Scala (13,277 stars) (3,547 forks)batch import
1 - triagedhelp wantedt:serialization

説明

Full class names as manifests lead to lot of unnecessary storage overhead and leads to problems if event classes are being refactored into different packages.

It would be very helpful to be able to define custom manifest names like e.g. this:

case class @PersistenceManifest("AbcActor.Name") NameEvent(id: UUID, name: string) extends Event

Ideally, it should be checked on startup if persistence manifest names are unique within the running application.

コントリビューターガイド

Custom manifest naming for persistence with Jackson · akka/akka-core#30483 | Good First Issue