Closed smcvb closed 11 months ago
SonarCloud Quality Gate failed.
1 Bug
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
80.0% Coverage
0.0% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
This pull request introduces logic to the
MultiTenantEventProcessorsControlService
that checks whether the user has set load-balancing strategy properties in their properties file. This logic, although present in theEventProcessorsControlService
it inherits from, needs a rewrite because the multi-tenant variety needs to deal with the fact the processor name and context are concatenated.Thus, a part of the changes is the mapping from processor name to strategy. The other, larger part, is the actual invocation of the
AdminChannel
to set the load balancing strategy and to enable automatic load balancing (if enabled). This latter part closely resembles the implementation of theEventProcessorsControlService
on this subject, by the way.In doing the above, this pull request resolves #122.