F1 (Java) Story 23 [Storage]: write to records-changed-2 topic implementation for AWS
Description
When a record is changed in the custom namespace, a message should be sent to the "Record Changed V2" topic on message broker instead of the usual "Record Changed V1" topic. The requirement is mentioned in the following ADRs:
- ADR: Namespacing storage records
- ADR - Project & Workflow Services - Core Services Integration - Search Service Support
It has already been implemented for Azure CSP, see MR !553
Acceptance criteria
- Changing a record in a custom namespace in AWS environment causes sending a message to "Record Changed V2" topic
Testing scenarios
- change a record in SOR -> a message goes to the "Record Changed V1" topic
- change a record in a custom NS -> a message goes to the "Record Changed V2" topic
Technical notes
[Any technical details, guides, documentation, wikis, and many more that could be useful to complete this story.]