Disconnect action in the Kafka package
- Updated: 2026/05/15
Disconnect action in the Kafka package
The Disconnect action in the Kafka package enables you to close an active Apache Kafka broker session and release all associated connection resources, ensuring that your automation does not leave open connections when Kafka processing is complete.
Prerequisites
An active Kafka session established using the Connect action. See Connect action in the Kafka package.
Settings
Use the Disconnect action to close the active Kafka broker session and release all associated network and memory resources. Always add this Disconnect action at the end of your workflow that uses the Kafka package to prevent connection leaks. If your workflow uses error handling, ensure the Disconnect action is called in both the successful completion path and any error-handling branches to guarantee the session is closed regardless of automation outcome.
- Session name: Select the active Kafka session returned by the Connect action, or accept the default session name Default.
- Variable: Select a session variable that includes the active Kafka session configuration.