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)