-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Ecotone version(s) affected: latest
Description
When using the executionTimeLimit option in Ecotone consumers, the framework does not properly handle termination signals (e.g., SIGTERM, SIGQUIT). As a result, consumers are not gracefully shutting down when a termination signal is received. This behavior is unexpected and causes issues in containerized environments where consumers need to handle shutdown signals correctly.
How to reproduce
-
Create a consumer with the command: php bin/console ecotone:run internal --executionTimeLimit 3600000.
-
Start the consumer process.
-
Send a SIGTERM (
kill -TERM <pid>) or stop the container if running in Docker. -
Observe that the process does not handle the signal as expected and does not shut down gracefully.
Metadata
Metadata
Assignees
Labels
No labels