AxonFramework / extension-multitenancy

Axon Framework extension providing handles to support multi tenancy with distinct buses and stores per tenant.
Apache License 2.0
10 stars 2 forks source link

Allow existence of non-tenant processors #193

Closed schananas closed 1 month ago

schananas commented 2 months ago

In certain cases, users may want to disable multi-tenancy for specific Event Processor which does not have any tenants, such as when users have event processor that is consuming events from external context. Per default, each event processor is scaled, and duplicated for each tenant.

This PR allows to disable this behavior for a specific processing, you can define specific bean.

This PR also includes slight change that changes addTenant and removeTenant method visibility from protected to public in AxonServerTenantProvicder, as its benefitial for users to be able to access these methods directly.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
95.6% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud