I use Docker containers to run my app. The axon app is in its own container as well as the DB. And I use TrackingEventProcessor. When the container with the DB is stopped, but axon is still running, the TrackingEventProcessor stops with “Processing loop ended due to uncaught exception. Processor stopping.” because it can’t read from DB anymore.
How would you suggest to handle that situation?
Do I need to check periodically if TrackingEventProcessors are stopped and restart them?
I don’t seem to be able to reproduce the “Processing loop ended due to uncaught exception. Processor stopping” scenario on DB failure. Could you share the exception that you also get in the log statement?