Making Enqueue Azure a Spring Boot Application
This merge request addresses issue #6 (closed). It contains code changes and devops/azure/charts
changes to deploy indexer-queue as a spring boot application.
Performance Testing results can be found here - https://dev.azure.com/osdu-demo/osdu-perf/_wiki/wikis/osdu-perf.wiki/398/Run-4
Implementation Details
- Uses the Azure Client Library for Java to receive messages from service bus topics
- Uses Partition Service to fetch service bus connection information for each data partition
- Implements DpsHeaders as Thread Scoped beans instead of request scoped beans. This is because indexer queue is a worker service with no public APIs so there is no context of request scope.
- Deleted file
log4J2.xml
as it is now directly pulled from core-lib-azure.
Testing
- Perf tested.
- Integration and unit tested.
- Pipelines green.
Edited by Vibhuti Sharma [Microsoft]