-
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
Add flags to disable MQTT and AMQP #576
Conversation
This avoids unnecessary polling to connect to MQTT and AMQP if they are not there and keeps the logs nice and clean. As a side-effect, startup is quicker too. Just add the following config to your docker-compose. ``` - IOTA_MQTT_DISABLED=true - IOTA_AMPQ_DISABLED=true ```
Adding an entry into CHANGES_NEXT_RELEASE file is required before merging. |
Fixed 9432c29 |
@@ -256,6 +256,7 @@ The ones relating specific Ultralight 2.0 bindings are described in the followin | |||
| IOTA_MQTT_AVOID_LEADING_SLASH | mqtt.avoidLeadingSlash | | |||
| IOTA_MQTT_CLEAN | mqtt.clean | | |||
| IOTA_MQTT_CLIENT_ID | mqtt.clientId | | |||
| IOTA_MQTT_DISABLED | mqtt.disabled | |
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.
config.js should be modified to include the new mqtt.disabled and amqp.disables settings (in commented way). Note config.js is used also somehow to document configurations.
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.
Fixed bebba29
Co-authored-by: Fermín Galán Márquez <fgalan@users.noreply.github.com>
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.
LGTM
This avoids unnecessary polling to connect to MQTT and AMQP if they are not there and keeps the logs nice and clean.
As a side-effect, startup is quicker too.
Just add the following config to your docker-compose.
Evil twin of telefonicaid/iotagent-json#685