-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMR-10140-1: Adding subscribing to the local and AWS topics and publishing messages. #2185
Conversation
;; up the database slowing down all the tests. | ||
(setup-infrastructure this) | ||
(let [metadata (:metadata subscription) | ||
sqs-client (queue/create-sqs-client (config/sqs-server-url)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does an SQS client need to be made for each subscription? Is it like a different interface to the SQS service for each subscription?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I never figured out where the underlying http connection (assuming its http) lived in the AWS libraries. I thought that it would live in the client, so I wanted to limit those and keep them open for quicker communication, but if that is not the case, then we don't need it in the subscription. It is possible that a queue could live in a different place from other queues, but when the subscription is set up all of the clients are set to use the local queue manager.
Overview
What is the feature/fix?
Adding the capability to subscribe/unsubscribe to topics either AWS or local
Adding the capability to publish notification messages when it meets subscription criteria
What is the Solution?
Added the capability to subscribe/unsubscribe an AWS queue to either an AWS or local topic.
Added the capability to metadata_db to send notification messages if the concepts meet the subscription criteria.
What areas of the application does this impact?
Ingest Subscriptions and Metadata_DB.
Checklist