Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple command bus is reused for every tenant #173

Open
schananas opened this issue Dec 29, 2023 · 2 comments
Open

Simple command bus is reused for every tenant #173

schananas opened this issue Dec 29, 2023 · 2 comments

Comments

@schananas
Copy link
Contributor

Same local segment command bus is reused between tenant axon server command segments. And then if I add handler interceptor to the multitenant bus, it applies on each tenant command bus when it is started and each tenant bus applies it on a single instance of the local segment bus. As a result if you have N tenants, your local segment bus will have N same handler interceptors.

Wanted behaviour:
Each tenant segment should have its own simple command bus. In our case tenant segment has its own axon server command bus, but axon server command bus uses shared command bus, that causes this issue.

@zistow
Copy link

zistow commented Aug 20, 2024

When it will be fixed?

Refers to: https://discuss.axoniq.io/t/multitenancy-extension-multiplied-command-bus-message-handlers-interceptors/5679/2

@smcvb smcvb modified the milestones: Release 4.11.0, Release 4.10.2 Aug 21, 2024
@smcvb
Copy link
Member

smcvb commented Aug 21, 2024

Thanks for refreshing me here, @zistow. We've been spread thin a little the past months on the Axon Framework Extensions, so my apologies for the wait.
I'll contact @schananas once he's available to discuss how and when we'll proceed with this fix and the other issues you've constructed.

From here, we'll keep you up to date by adjusting this issue accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants