-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarified MUST requirement for JSON format #644
Conversation
…upported. Signed-off-by: Klaus Deissner <[email protected]>
I believe this was the original intent, so LGTM |
Signed-off-by: Klaus Deissner <[email protected]>
I realized that the wording is pretty much the same for AMQP, MQTT and Kafka. As MQTT and Kafka do only support structured mode for a certain protocol version, the situation is different there. Nevertheless I think the proposal also fits there. @clemensv In the MQTT binding I removed a sentence stating that MQTT 5.0 MAY support additional formats. I think that was redundant, as the whole concept of structured mode already suggests that additional formats may be used. |
Implementations that use Kafka 0.11.0.0 and above MAY use either _binary_ or | ||
_structured_ modes. Implementations that use Kafka 0.10.x.x and below MUST only | ||
use _structured_ mode and encode the event in JSON. This is because older | ||
versions of Kafka lacked support for message level headers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just checking... this was just a formatting change, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a typo. the word "use" occurred twice. I thought I could just fix it, while doing my edits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah missed that - thanks!
still LGTM |
Approved on 6/18 call |
* Clarified that JSON format is a MUST, if structured content mode is supported. Signed-off-by: Klaus Deissner <[email protected]> * Added AMQP,Kafka and MQTT Signed-off-by: Klaus Deissner <[email protected]>
Addresses #643