This Serializer serializes akka.protobuf.Message
and com.google.protobuf.Message
It is using reflection to find the parseFrom
and toByteArray
methods to avoid
dependency to com.google.protobuf
.
- Companion:
- object
- Source:
- ProtobufSerializer.scala
Value members
Concrete methods
Inherited methods
Java API: deserialize with type hint
Java API: deserialize with type hint
- Inherited from:
- Serializer
- Source:
- Serializer.scala
Java API: deserialize without type hint
Java API: deserialize without type hint
- Inherited from:
- Serializer
- Source:
- Serializer.scala
Concrete fields
Inherited fields
Configuration namespace of serialization identifiers in the reference.conf
.
Configuration namespace of serialization identifiers in the reference.conf
.
Each serializer implementation must have an entry in the following format:
akka.actor.serialization-identifiers."FQCN" = ID
where FQCN
is fully qualified class name of the serializer implementation
and ID
is globally unique serializer identifier number.
- Inherited from:
- BaseSerializer
- Source:
- Serializer.scala
Globally unique serialization identifier configured in the reference.conf
.
Globally unique serialization identifier configured in the reference.conf
.
- Inherited from:
- BaseSerializer
- Source:
- Serializer.scala