akka/akka-core

Custom manifest naming for persistence with Jackson

Open

#30,483 创建于 2021年8月5日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Scala (13,277 star) (3,547 fork)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