Refactoring indexer event processing, events unbounded from request scope
Description:
- We will not use Google Cloud tasks anymore.
- Implement separate data flow using the PubSub/RabbitMQ subscription/queue - it will need separate Spring context to get rid of request scope beans from REST data flow .
- Indexer service will contain consumers for both records-changed (moved from indexer-queue) and record-parts subscription/queue.
How to test:
via IT.
Changes include:
-
Refactor (a non-breaking change that improves code maintainability). -
Bugfix (a non-breaking change that solves an issue). -
New feature (a non-breaking change that adds functionality). -
Breaking change (a change that is not backward-compatible and/or changes current functionality).
Changes in:
-
GCP -
Azure -
AWS -
IBM
Dev Checklist:
-
Added Unit Tests, wherever applicable. -
Updated the Readme, if applicable. -
Existing Tests pass -
Verified functionality locally -
Self Reviewed my code for formatting and complex business logic.
Edited by Rustam Lotsmanenko (EPAM)