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

Enable load balancing strategy property configuration #122

Closed smcvb closed 8 months ago

smcvb commented 1 year ago

Feature Description

This multi-tenancy extension uses a customized EventProcessorControlService to enable event processor operation through the Axon Server dashboard. With Axon Framework 4.8.0, this service includes setting the (auto) load balancing strategy from the application.properties file.

As the EventProcessorControlService#start method is overridden by the MultiTenantEventProcessorControlService, we lose this capability entirely.

Current Behaviour

The multi-tenancy extension does not support load-balancing strategy configuration through a properties file.

Wanted Behaviour

The multi-tenancy extension supports load-balancing strategy configuration through a properties file.

Possible Workarounds

Adding a custom MultiTenantEventProcessorControlService that enables this behavior.