Skip to content
Snippets Groups Projects
rabbitmq-set-message-ttl-and-queue-expiry-90c16da5e14c0265.yaml 643 B
Newer Older
  • Learn to ignore specific revisions
  • ---
    upgrade:
      - |
        In RabbitMQ, messages now have a TTL of 10 minutes and inactive queues will
        expire after 1 hour. These queue arguments can be changed dynamically at
        runtime [1], but it should be noted that applying a TTL to queues which
        already have messages will discard the messages when specific events occur.
        See [2] for more details. Note that the contents of the RabbitMQ
        definitions.json are now changed, meaning RabbitMQ containers will be
        restarted on next deploy/upgrade.
        [1] https://www.rabbitmq.com/queues.html#optional-arguments
        [2] https://www.rabbitmq.com/ttl.html#per-message-ttl-caveats