-
Notifications
You must be signed in to change notification settings - Fork 1.1k
spring-integration-mqtt: Any plan to integrate with org.eclipse.paho.mqttv5.client #3432
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
Comments
Hi @UpCareer ! We have those plans, indeed. See #3102. The long term is indeed to move to Hive library with its reactive support. If you have any ideas in mind how to implement the |
Hello ! Is there news for MqttV5 ? (I need to create groups for multiple pods) |
Hi @Whisper40 ! Thank you for an interest in the feature for this project! Unfortunately we didn't have a chance to look into this recently. The contribution is welcome: https://github.com/spring-projects/spring-integration/blob/main/CONTRIBUTING.adoc |
@artembilan Hi, sry i'm not a java dev :( This is a really old feature, because mqtt 5 is there for a long time now :) |
Does Spring boot support MQTT V5 yet or not? I assume not by reading this thread :-( |
We definitely have those plans for next |
For some correlation: https://github.com/mqtt/mqtt.org/wiki/Differences-between-3.1.1-and-5.0 |
Fixes spring-projects#3432 * Add `optional` dependency for `org.eclipse.paho:org.eclipse.paho.mqttv5.client` * Add `MqttProtocolErrorEvent` and emit it from the `mqttErrorOccurred()` callback of the MQTT v5 client * Add `MqttHeaderMapper` since MQTT v5 has introduced user properties pair to transfer over the protocol * Add `Mqttv5PahoMessageHandler` as one more extension of the `AbstractMqttMessageHandler` * Add more convenient `MqttHeaders` constants for easier headers mapping configuration * Ensure via `Mqttv5BackToBackTests` that MQTT v5 is supported by the provided components * Change `pr-build-workflow.yml` to use `eclipse-mosquitto` container for testing all the MQTT interactions * Change `cyrilix/rabbitmq-mqtt` service to the `rabbitmq:management` since RabbitMQ does not support MQTT v5
FYI: #3639 If that goes OK with review, we will have some MQTT v5 support in the upcoming Thanks. |
* GH-3432: Add MQTT v5 channel adapters Fixes #3432 * Add `optional` dependency for `org.eclipse.paho:org.eclipse.paho.mqttv5.client` * Add `MqttProtocolErrorEvent` and emit it from the `mqttErrorOccurred()` callback of the MQTT v5 client * Add `MqttHeaderMapper` since MQTT v5 has introduced user properties pair to transfer over the protocol * Add `Mqttv5PahoMessageHandler` as one more extension of the `AbstractMqttMessageHandler` * Add more convenient `MqttHeaders` constants for easier headers mapping configuration * Ensure via `Mqttv5BackToBackTests` that MQTT v5 is supported by the provided components * Change `pr-build-workflow.yml` to use `eclipse-mosquitto` container for testing all the MQTT interactions * Change `cyrilix/rabbitmq-mqtt` service to the `rabbitmq:management` since RabbitMQ does not support MQTT v5 * * Handle manual acks * Add `Mqttv5PahoMessageDrivenChannelAdapter.persistence` property * * Add documentation * Add `MosquittoContainerTest` for TestContainers support with Mosquitto image * Fix language in the docs after review Co-authored-by: Gary Russell <[email protected]> Co-authored-by: Gary Russell <[email protected]>
Expected Behavior
Spring-integration-mqtt supports mqtt protocol version 5. (Currently, it only support mqtt protocol version 3)
Current Behavior
Latest
spring-integration-mqtt
still support mqtt version 3 by integrating withWe have a project which requires a Spring Boot app integrate with mqttv5 client.
I would like to check if we have the plan to have new release of
spring-integration-mqtt
which is able to support mqtt version 5.How has this issue affected you? our team will develop a springboot app which need to support mqtt version 5. However, the current spring-integration-mqtt dependency only support mqtt version 3.
What are you trying to accomplish? We would like to have a new release of spring-integration-mqtt which is able to support mqtt version 5.
What other alternatives have you considered?
Are you aware of any workarounds? I have two thoughts: 1. Write a full functional mqtt version 5 client, but it need to handle all connect, reconnect, disconnet and other features. 2. Write a simplified
spring-integration-mqtt
dependency which integrate withorg.eclipse.paho.mqttv5.client
I am looking forward to hearing from spring team soon.
Thanks
The text was updated successfully, but these errors were encountered: