{"action":"created","issue":{"url":"https://api.github.com/repos/MetPX/sarracenia/issues/129","repository_url":"https://api.github.com/repos/MetPX/sarracenia","labels_url":"https://api.github.com/repos/MetPX/sarracenia/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/MetPX/sarracenia/issues/129/comments","events_url":"https://api.github.com/repos/MetPX/sarracenia/issues/129/events","html_url":"https://github.com/MetPX/sarracenia/issues/129","id":394702500,"node_id":"MDU6SXNzdWUzOTQ3MDI1MDA=","number":129,"title":"message format evolution v3 (JSON \"headers\" in the body)","user":{"login":"petersilva","id":394117,"node_id":"MDQ6VXNlcjM5NDExNw==","avatar_url":"https://avatars0.githubusercontent.com/u/394117?v=4","gravatar_id":"","url":"https://api.github.com/users/petersilva","html_url":"https://github.com/petersilva","followers_url":"https://api.github.com/users/petersilva/followers","following_url":"https://api.github.com/users/petersilva/following{/other_user}","gists_url":"https://api.github.com/users/petersilva/gists{/gist_id}","starred_url":"https://api.github.com/users/petersilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petersilva/subscriptions","organizations_url":"https://api.github.com/users/petersilva/orgs","repos_url":"https://api.github.com/users/petersilva/repos","events_url":"https://api.github.com/users/petersilva/events{/privacy}","received_events_url":"https://api.github.com/users/petersilva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-28T19:19:19Z","updated_at":"2018-12-28T22:19:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Sarracenia, with it´s v2 message format, is currently tightly linked to AMQP.  The AMQP standardization process has been a bit of a mess, with interoperability not having been so far demonstrated to be that realistic.  Sarracenia is developed for rabbitmq, and getting it to work with another AMQP broker is non-trivial (See #128)\r\n\r\nThe sr_post protocol makes heavy use of AMQP HEADERS, which are limited to 255 bytes in size.  The 255 character limit is, well, limiting, as is the concept of headers, which is not found in many other protocols, such as MQTT. A format would benefit from replace use of headers by a JSON structure to store the same information in the body of the message.  Such a message format would be compatible with transport over MQTT, as well as AMQP, simplifying inter-operability substantially.\r\n\r\nAs this would be a breaking change, one would likely mark this format as v3.  I don´t know if this is a good thing to do yet. It is the next logical step, but it would be a long transition, not sure if it is a justifiable change.\r\n"},"comment":{"url":"https://api.github.com/repos/MetPX/sarracenia/issues/comments/450436313","html_url":"https://github.com/MetPX/sarracenia/issues/129#issuecomment-450436313","issue_url":"https://api.github.com/repos/MetPX/sarracenia/issues/129","id":450436313,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDQzNjMxMw==","user":{"login":"petersilva","id":394117,"node_id":"MDQ6VXNlcjM5NDExNw==","avatar_url":"https://avatars0.githubusercontent.com/u/394117?v=4","gravatar_id":"","url":"https://api.github.com/users/petersilva","html_url":"https://github.com/petersilva","followers_url":"https://api.github.com/users/petersilva/followers","following_url":"https://api.github.com/users/petersilva/following{/other_user}","gists_url":"https://api.github.com/users/petersilva/gists{/gist_id}","starred_url":"https://api.github.com/users/petersilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petersilva/subscriptions","organizations_url":"https://api.github.com/users/petersilva/orgs","repos_url":"https://api.github.com/users/petersilva/repos","events_url":"https://api.github.com/users/petersilva/events{/privacy}","received_events_url":"https://api.github.com/users/petersilva/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T22:19:17Z","updated_at":"2018-12-28T22:19:17Z","author_association":"CONTRIBUTOR","body":"With those two improvements in v5.0... It's possible that MQTT is directly usable by sarracenia.\r\nhmm...\r\n"}}
{"actor":{"display_login":"petersilva"}}