-
Notifications
You must be signed in to change notification settings - Fork 480
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
Create certification test MQTT as GA in pubsub #952
Comments
Certify MQTT pubsub with 2 or 3 messaging services runs on MQTT protocol |
components-contrib/.github/workflows/conformance.yml - Confirmance test for MQTT is already in place, need to create integration tests. |
/assign |
MQTT certifcation testingThis project aims to test the MQTT Pub/Sub component under various conditions. Test planBasic Test
Multiple Publishers-Subscribers
Infra Test
Network Test
|
MQTT messages are still always Acked even if handler returns an error. But it seemingly requires change in paho.mqtt.golang lib and there already is an issue opened potentially addressing this. See #1234 for more details. |
The certification plan looks good to me.
With this in mind ... I am not comfortable with certifying this as Stable without a fix or a workaround for this as this basically breaks Dapr PubSub API conformance at that point. |
Please, add a new network scenario where the publisher is also validated that can recover from a reconnection. |
Can this be addressed in the dependency too? I am OK if we cut a PR against the dependency's repository. |
Updated test plan accordingly |
Question: will MQTT v5 be supported? According to the implementation ( components-contrib/pubsub/mqtt/mqtt.go Line 286 in 29848e1
P.S. MQTT v5 is needed for Azure IoT Hub Broker MQTT v5 support :) (@artursouza) main issue here is that username:password is not used but it requires SAS token setting... (more info: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-5#connection-lifecycle & https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-5#authentication) |
We should make sure v5 is used, based on what I've seen. |
MQTT v5 support is being assessed and in consideration as it has multiple enhancements over the current version. |
@XavierGeerinck @yaron2 MQTT v5 is still in beta release, so it can't be used till it gets to stable. |
Azure IoT Hub is going with MQTT v5 as well so I think Dapr should follow. But I would check this off with the Microsoft IoT Hub team? in the end they will benefit from this. |
Seemingly MQTT doesn't guarantee ordering of messages(https://stackoverflow.com/questions/30955110/is-message-order-preserved-in-mqtt-messages) and so removed order part from test plan. Also verified the same while running tests. |
Describe the feature
Certify MQTT as GA in pubsub
Release Note
RELEASE NOTE:
The text was updated successfully, but these errors were encountered: