Spring application events lifecycle and earlyApplicationEvents
Not long ago I learned the hard way the way spring handles earlyApplication events when we started having problems in one of our projects Basically we were using a MongoDB database as a cache layer, so when the application would startup we would pull most…