When stopping a Mule application deployed on Runtime Fabric (RTF) via the Anypoint Platform control plane (clicking the "Stop" button in Runtime Manager), some questions arise regarding whether in-flight transactions will complete or if data loss may occur:
By default, when an RTF application is stopped via the control plane:
shutdownTimeout) for in-flight transactions to complete.To allow more time for in-flight transactions to complete, configure the shutdownTimeout parameter in your Mule application. Refer to:
Configure Shutdown Timeout — MuleSoft Documentation
Important: If you set shutdownTimeout to a value greater than 30000 milliseconds, you must also increase the Kubernetes terminationGracePeriodSeconds to match. Otherwise, Kubernetes will forcefully terminate the pod at 30 seconds.
terminationGracePeriodSeconds to a value greater than 30 seconds. See: Deploy Mule Apps with Anypoint ControllerterminationGracePeriodSeconds beyond 30 seconds is not currently supported.shutdownTimeout to a value that accommodates your longest expected transaction.terminationGracePeriodSeconds is always greater than or equal to shutdownTimeout.005387181

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.