Reputation: 8846
For legacy reasons, I need to disable retained messages on an MQTT node running RabbitMQ.
After researching the issue, it appears that the Rabbit MQ team has indeed added such a feature in a file called rabbit_mqtt_retained_msg_store_noop.erl.
I am otherwise unfamiliar with the codebase and could not find mention of the noop retainer anywhere in the documentation.
How do I enable rabbit_mqtt_retained_msg_store_noop
?
Upvotes: 0
Views: 1382
Reputation: 8846
rabbit_mqtt_retained_msg_store_noop
is enabled by adding thefollowing to configuration:
[
{
rabbitmq_mqtt, [
{retained_message_store, rabbit_mqtt_retained_msg_store_noop}
]
}
].
Upvotes: 1