Anyone run into this issue?
I have an axon,java,spring,jpa app with my own event store running on kubernetes on prem. everything works and eventually the event will to get to the event store, only to my commandhandler and somewhere in between that and the eventhandler it doesnt get there. No errors, I’ve optimized as much as I can. When I restart the app on the servers it starts working, and even locally when I connect to the same database it locks when app is hanging and works when I restart the dev enviroment? Any thoughts? i’m going crazy here
Hi @fernmo, and welcome to the forum
I am confident there are more people who’ve hit the issue of an event not arriving at the event handler. However, it is rather hard to deduce what the exact issue is you’re facing.
Would you, perchance, be able to share a repository that has this issue, so that I can have a look? I know exactly which parts of Axon Framework to debug to figure out where you’re getting stuck.
If sharing is a bit of an issue, here are some classes you can at debug points to when it comes to handling events:
- The
TrackingEventProcessor
, assuming you have set your event handlers to the default event processor type, being “tracking.” I would add breakpoints in thestart()
andprocessingLoop()
methods. The former tells you if event processing even starts. The second point will show you if events are even consumed by your event processor. - The
SimpleEventHandlerInvoker
. This is the core component before a message enters your event handler. A debug point in thehandle
method would make most sense.
Let’s get to the bottom of this, @fernmo!