...
To prevent data loss of RabbitMQ queue, Insights product will handle this with help of RabbitMQ dead letter queue.
Pre-Requisite:
- Dead letter exchanges (DLXs) are normal exchanges, Insights planning maintain one queue for whole application.
- DLX attached to normal queue (Health and Data) at the time declaration of queue, this means that user has to delete all their queue before activating DLX in their environment.
- Insights Version 8.1+ support this functionality
- If you already have agent registered, do the following steps in sequence
- Stop All Agent
- Consume all data from queue
- Stop Engine, Daemon Agent and platform service
- Delete all existing queue
- Activate DLX mention in below section and start all services
...
Queue
Exchange
Agent/Webhook Queue
- When any exception occurs during processing of messages then Insights application Reject that message and it will send to DLX Queue
- Message in INSIGHTS_RECOVER_QUEUE of DLX contain in following format
...