[ 
https://issues.apache.org/jira/browse/SLING-8401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider updated SLING-8401:
---------------------------------------
    Affects Version/s: Content Distribution Journal Kafka 0.1.0

> 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 Kafka 0.1.0, Content 
> Distribution Journal Messages 0.1.0
>            Reporter: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal Kafka 0.1.2, Content 
> Distribution Journal Messages 0.1.2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to