Christian Schneider created SLING-8401:
------------------------------------------
Summary: Use protobuf 3 Any to avoid reflection during
serialization
Key: SLING-8401
URL: https://issues.apache.org/jira/browse/SLING-8401
Project: Sling
Issue Type: Improvement
Components: Content Distribution
Affects Versions: Content Distribution Journal Messages 0.1.0
Reporter: Christian Schneider
Fix For: Content Distribution Journal Messages 0.1.2
We currently use a home grown deserialization using cutom message properties
and reflection to be able to mix different message types on the same topic.
In protobuf 3 there is a standard way to do this by using the Any type. This
stores the type of the message and so allows to deserialize in a straight
forward way.
See
[https://stackoverflow.com/questions/32613667/protobuf-3-0-any-type-pack-unpack]
Notice this change is not wire compatible.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)