Decommission a Connector
A 5-step recipe with Apache Kafka. We can help you get access.
Recipe · 5 steps
Decommission a Connector
with Apache Kafka
Archive a connector's state, shut it down cleanly, and remove it.
- Read the connector to confirm it exists and to capture its type and configuration for the decommission record.
- Capture the connector's final offsets. Without this, a rebuilt connector cannot resume where the retired one stopped and would reprocess from the beginning.
- Stop the connector so its tasks shut down cleanly and commit their offsets, rather than being torn down mid-flight by the delete.
- Delete the connector from the worker, removing its configuration and tasks from the Connect cluster.
- List the remaining connectors so the caller can confirm the decommission actually took effect across the Connect cluster.
What you'll need to have ready
- connectorName: The name of the connector being decommissioned.
For your developer
Arazzo workflow apache-kafka:decommission-connector, 5 operations: getConnector → getConnectorOffsets → stopConnector → deleteConnector → listConnectors. Specs on APIs.io.