threatgrid / ctia

Cisco Threat Intelligence API
Eclipse Public License 1.0
70 stars 26 forks source link

Use JSON for serialization in JSON instead of Nippy #508

Closed polygloton closed 7 years ago

polygloton commented 7 years ago

As a non-clojure programmer trying to integrate with CTIA, I need to be able to deserialize events in redis that are not encoded with Nippy. I would like to see JSON strings, at least.

Carmine uses Nippy by default, which isn't an encoding standard with libraries in other languages. Need to support JSON and maybe Transit. We might want to make the format configurable as a property in CTIA.

This article shows how it can be done using carmine.

polygloton commented 7 years ago

I was wrong. Craig is already doing the correct thing in the redismq library (manually converting the payload into JSON strings).