KIP-901 — Add connectorDeleted flag when stopping tasks
Discussion Connect
Adds a Task#stop(boolean connectorDeleted) overload with a default implementation delegating to stop(), allowing task implementations to perform additional cleanup (e.g., removing database triggers or external queues) when the connector is being permanently deleted. Extending KIP-883's connector-level isDeleted flag to the task level ensures tasks can also react to deletion, not just the connector lifecycle.
Details
| Author | Hector Geraldino |
| Status | Discussion |
| JIRA | KAFKA-14651 |
| Wiki | View on Apache Wiki |
| Created | 2023-01-22 |
| Last Modified | 2023-01-27 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.