department-of-veterans-affairs / abd-vro

To get Veterans benefits in minutes, VRO software uses health evidence data to help fast track disability claims.
Other
19 stars 6 forks source link

RabbitMQ: Investigate Queue/Exchange configurations #3329

Closed dfitchett closed 3 weeks ago

dfitchett commented 1 month ago

Summary

Current queue and exchange configurations have been captured in this drawio diagram. Each of the exchange and queues need to be investigated and configuration verified, and changes need to be suggested to better fit our use cases.

For example, perhaps it would be better for our BIE kafka messages to be dead lettered to a separate queue, or maybe some queues should not be auto-deleted.

Acceptance Criteria

This ticket should be commented with a table indicating the current configuration, the proposed updates (if any), and the reasoning behind the update. This ticket is for information only, the implementation will be done in the follow up ticket #3330.

Properties that should be captured include:

For situational awareness, make a separate table for any policies that are on the queues. There will have been one added by this https://app.zenhub.com/workspaces/vro-team-6557e67173391c000e1409f3/issues/gh/department-of-veterans-affairs/abd-vro/3327 for max queue limits. Investigate if any other policies would be useful.

dfitchett commented 3 weeks ago

Created a document showing the current configurations and proposed changes here. The document outlines the above AC, but also lists out some useful definitions and Rules/Guidelines for future implementations of RabbitMQ. This document will be used/updated to modify configurations for svc-bip-api, svc-bgs-api, and ep-merge configurations of queues/exchanges. Additional work will be done to create any policies applied on rabbitmq startup and policies will be deployed by next biweekly deployment of rabbitmq pod.

In addition, follow-on ticket was created from the discussion during post-sprint planning adhoc meeting on 8/27 and is linked below. In summary: