Axoniq console and multitenancy extension

I noticed a couple of issues with the console when using multitenancy extension:

  • components data in the Application tab are not presented properly.(there is “X” in axon server column, no context information, no serializer information, not all interceptors)

  • all sections are duplicated (component list, event processors, axon library versions)

  • when I tried to update the client from 1.5.1 to 1.7.0, I noticed many errors in logs like the example below

2024-07-30 09:55:30.390 ERROR [,] 38 --- [pool-1-thread-2] i.a.c.f.client.ServerProcessorReporter : Was unable to report processor metrics: class org.axonframework.extensions.multitenancy.components.eventhandeling.MultiTenantEventProcessor cannot be cast to class org.axonframework.eventhandling.SubscribingEventProcessor (org.axonframework.extensions.multitenancy.components.eventhandeling.MultiTenantEventProcessor and org.axonframework.eventhandling.SubscribingEventProcessor are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @2ef1e4fa)
java.lang.ClassCastException: class org.axonframework.extensions.multitenancy.components.eventhandeling.MultiTenantEventProcessor cannot be cast to class org.axonframework.eventhandling.SubscribingEventProcessor (org.axonframework.extensions.multitenancy.components.eventhandeling.MultiTenantEventProcessor and org.axonframework.eventhandling.SubscribingEventProcessor are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @2ef1e4fa)
 at io.axoniq.console.framework.eventprocessor.ProcessorReportCreator.createReport(ProcessorReportCreator.kt:50)
 at io.axoniq.console.framework.client.ServerProcessorReporter.report(ServerProcessorReporter.kt:51)
 at io.axoniq.console.framework.client.ServerProcessorReporter.onConnectedWithSettings$lambda-0(ServerProcessorReporter.kt:43)
 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
 at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
 at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
 at java.base/java.lang.Thread.run(Thread.java:831)

I didn’t check axoniq console for some time but today I noticed that it stopped working means when I logged into the dashboard I can see only:

and when I locally tried to run my application I can see in logs (upgraded client to “io.axoniq.console:console-framework-client-spring-boot-starter:1.8.1”)

Failed to connect to AxonIQ Console. Error: java.nio.channels.ClosedChannelException. Will keep trying to connect...

I also cannot find where are these buttons to “connect my applications” to get credentials to connect


My environment: so far used 1.5.1 client, using multitenancy extension and Axon server cloud (cloud.axoniq.io), spring boot app

@Steven_van_Beelen @Morlack

it seems that it started today morning

We were faced with some pretty extreme load from one of the users, @KaeF. This brought the Axon Framework Client to its knees for a bit, but things are under control. Be assured we’re looking into more robustness in this area ASAP.