I'm working on a poc to migrate a big grails monolith to smaller apps. One of the issues we had with the grails app was that the java mongo driver is buggy and doesn't close all the connections in its pool properly. So trying to anticipate a question related to that if I get this demo off the ground to show to my coworkers the concept I have in mind.
No worries. Everything seems to be closing down okay in my elasticsearch demo. The elasticsearch server logs when the ratpack app shutsdown. I'll monitor mongo's connections, but I suspect the same thing happens there.