java - Sprint Boot Application Shutdown -


i have spring boot application listens jcaps. connection durable. when shutdown application using

curl -x post ip:port//shutdown 

application not shutting down completely. can see pid when grep processes. tried kill using

kill -15 pid 

or

kill -sigterm pid 

the pid gone, subscription jcaps topic still active. hence, when restart application, unable connect same topic using same subscriber name.

please on how shutdown spring boot application.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -