[ 
https://issues.apache.org/jira/browse/KAFKA-16987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Greg Harris updated KAFKA-16987:
--------------------------------
    Description: 
Connectors will enter the FAILED state if an unexpected exception appears. 
Connectors may also have resources associated with them that must be explicitly 
cleaned up by calling stop().

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.

  was:
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.


> Release connector 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
>            Priority: Minor
>
> Connectors will enter the FAILED state if an unexpected exception appears. 
> Connectors may also have resources associated with them that must be 
> explicitly cleaned up by calling stop().
> 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)

Reply via email to