Greg Harris created KAFKA-16987: ----------------------------------- Summary: Release connector & task resources when entering FAILED state Key: KAFKA-16987 URL: https://issues.apache.org/jira/browse/KAFKA-16987 Project: Kafka Issue Type: Improvement Components: connect Reporter: Greg Harris
Connectors and Tasks will enter the FAILED state if an unexpected exception appears. Connectors and tasks also have many resources associated with them that must be explicitly cleaned up by calling close(). Currently, this cleanup only takes place when the connectors are requested to shut down and the state transits to UNASSIGNED. This cleanup can be done earlier, so that resources are not held while the connector or task is in the FAILED state. -- This message was sent by Atlassian Jira (v8.20.10#820010)