0

We are using spring-integration-amqp-4.3.10.RELEASE,spring-cloud-stream-1.3.0.RELEASE and spring-cloud-starter-stream-rabbit in our project.We tried to accomplish graceful shutdown of our microservices by having shutdown-timeout placed in our inbound-channel-adapter.

scenario:

  1. We are able to acheive graceful shutdown only for microservices without spring-cloud-stream.

    • we analysed it to be running in same listener thread, so it is getting terminating as expected.
  2. When we try terminating the microservice(having spring-cloud-stream + AMQP)

    • We are not sure whether thread shifting is happening here, if it is happening ,how to implement shut down in such case.

Could you suggest us the way to overcome this second scenario??

ajain k
  • 21
  • 2

0 Answers0