[ 
https://issues.apache.org/jira/browse/CAMEL-17515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515302#comment-17515302
 ] 

Claus Ibsen commented on CAMEL-17515:
-------------------------------------

However thinking about this - if a k8s container is terminating a pod, then it 
knows that its being terminated and should ideally regard it as "NOT READY" and 
stop sending traffic to it.

If a graceful shutdown is taking a longer time, and could that affect some 
monitoring systems that would "report a problem" if the camel app is "NOT 
READY" for a longer time (where it does not know it is being shutdown).

To be conservative then it sounds better to say "NOT READY" when graceful 
shutdown is started to stop sending new traffic, and allow Camel to shutdown 
cleanly.

> Provide an option to mark Camel readiness as DOWN during graceful shutdown
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-17515
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17515
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 3.14.0
>            Reporter: Babak Vahdat
>            Priority: Minor
>
> https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/timout.20of.20DefaultShutdownStrategy



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to