-
Notifications
You must be signed in to change notification settings - Fork 55
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
include agent protocol in topic (MQTT) #287
Comments
Topic root should be configurable. For instance:
Anyway we should be very careful with this changes, as it could break backward compatibility in existing integrations. |
Do we have a "twin" issue for IOTA-JSON? |
twin issue telefonicaid/iotagent-json#374 |
Keeping in mind that the root problem is that IoTA-UL agent is receiving IoTA-JSON mesaures and vice versa ... |
Using rabbitMQ instead of mosquito, communication between agent and broker is done through AMQP, so the solution for this issue should be reconsidered. |
Using shared subscriptions from https://blog.codecentric.de/en/2017/11/hello-mqtt-version-5-0/ implemented in mosquito 1.6+
|
PUB: (like currently is done) SUB: (like insternally ot-agent does) Only only one iot-agent-json is going to receive message each time, not both like until now. This way several iotagent of same protocol does not receive duplicated messages. |
Implemented by PR #401 Can this issue be closed? Or is anything pending? |
Currently topics used by iotagent-json and iotagent-ul are the same.
/<apikey>/<device_id>/attrs
There is no way to know if a topic (MQTT) is for UL or JSON agent.
Topic is fixed in agent source code:
Topic is knowed by ACL files:
Possible solution: extending topics
/<protocol>/<apikey>/<device_id>/attrs
but is not backward compatible
The text was updated successfully, but these errors were encountered: