I am investigating creating an embedded AWS IoT project and would like to use the google protobuf (binary serialization) for message payload - for size, ease of parsing, reliability etc.
AWS IoT speaks JSON, Protobuf converts quite nicely to & from JSON. I'm not awfully familiar with how the AWS services are setup, is there anyway I could convert from binary to json on arrival/before send? I thought I could pass the packet to Lambda and basically do what I want, but would this mean I can no longer run it through the rules engines? Most packets will end up in DynamoDB, if this makes any difference.
Any suggestions on this front would be very appreciated!