fedora-infra/fedmsg

Define the fedmsg consumer API message type

Opened this issue · 0 comments

Sometimes the API uses dict objects, and sometimes it uses moksha.hub.zeromq.zeromq.ZMQMessage objects. See #462 for the issue this causes with respect to headers. We need to define what the API is and determine where it is safe to convert the ZMQMessage object to a dictionary (or otherwise include the headers).