Apache Kafka · Arazzo Workflow
Apache Kafka Triage a Failed Connector
Version 1.0.0
Find the connector, read its status, drill into the failing task, and restart what is broken.
View Spec
View on GitHub
Distributed SystemsEvent StreamingMessagingOpen SourcePub-SubArazzoWorkflows
Provider
Workflows
triage-failed-connector
Diagnose a connector failure down to the task and restart it.
Reads connector and task status, captures the failure trace, and restarts the failed task, escalating to a full connector restart when the connector itself is the failing component.
1
listConnectors
listConnectors
List the connectors on the worker with their status expanded, giving the caller the fleet-wide picture before drilling into one connector.
2
readConnectorStatus
getConnectorStatus
Read the status of the target connector. The connector-level state tells the caller whether the connector itself failed or whether it is running with failed tasks underneath it.
3
listTasks
listConnectorTasks
List the tasks belonging to the connector along with their per-task configuration, so the caller can see how the work was divided.
4
readTaskStatus
getTaskStatus
Read the status of the individual task, capturing the state, the worker that owns it, and the stack trace that explains the failure.
5
restartFailedTask
restartTask
Restart just the failed task, which is the least disruptive recovery action because the connector's other tasks keep running.
6
restartWholeConnector
restartConnector
Restart the connector and all of its tasks, restarting only the failed ones so healthy tasks are not needlessly interrupted.
7
confirmRecovery
getConnectorStatus
Re-read the connector status to confirm the restart actually recovered the connector rather than assuming the restart call was enough.