-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
GSoC Sprint 4: Kafka
we use Jackson already for the objects on the restful endpoints (accessed by UI). And for that we restrict the (de)serialized properties, e.g.:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model/api/src/main/java/org/jboss/aerogear/unifiedpush/api/iOSVariant.java#L40
now, in the push side (e.g. TokenLoader replacement for JMS) we need these values, hence a Jackson based approiach is limited.
A few options:
- GSON or another JSON library
- Different protocol (Avro, but that might be complicated, and a lot of schemes overhead)
- Write some "data transfer object", to be used inside of the messaging (but again, a lot of overhead)