Closed kungfoo closed 5 years ago
@kungfoo we have had the same issue with cluster messages not deserialising. It appears that the jounral store https://github.com/WegenenVerkeer/akka-persistence-postgresql/blob/develop/modules/akka-persistence-pg/src/main/scala/akka/persistence/pg/journal/JournalStore.scala always uses the FQN, see line 82, so you are forced to use the FQN in your implementation. Not only is this not very nice it breaks the default serialization for cluster messaging. This really needs addressing.
I am trying to use protobuf to serialize objects into binary to use this storage and I cannot get my
SerializerWithStringManifest
to use the actual returned content of themanifest()
method. Is it possible that this is ignored?Following are my config and
SerializerWithStringManifest
implementations (java):This plugin keeps on using the FQN of the classes as the
manifest
, so deserialization fails when I match for the strings that are returned frommanifest()
.Is this an unsupported form of usage?