DanielZ
06/11/2025, 9:24 AMhelidon
as server. In my service I have multiple calls to upstream services (using okhttp
).
But during deployment in k8s I'm facing that helidon
will kill all running requests (Closed by interrupt
) even when I sleep first in my shutdown hook.
So far I understand helidon
has it's own shutdown hook registered by default. Would be nice to support in addition graceful stopmode to overcome that kind of issue.DanielZ
06/11/2025, 9:25 AMdave
06/11/2025, 9:48 AMclass HelidonStopTest : ServerStopContract(Helidon, JettyClient(), {
enableImmediateStop()
})
DanielZ
06/11/2025, 9:54 AMDanielZ
06/12/2025, 2:04 PMgradle :http4k-server-shutdown-integration-test:integrationTests --rerun-tasks
is successful on my machine - even when changing docker limits to 4 CPUs.