0
votes

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?

1

1 Answers

1
votes

rabbit_mqtt_retained_msg_store_noop is enabled by adding thefollowing to configuration:

[
  {
    rabbitmq_mqtt, [
      {retained_message_store, rabbit_mqtt_retained_msg_store_noop}
    ]
  }
].