Apache Kafka · Arazzo Workflow
Apache Kafka Pause and Resume a Connector for Maintenance
Version 1.0.0
Pause a connector for a maintenance window, confirm it stopped, then resume it and confirm recovery.
View Spec
View on GitHub
Distributed SystemsEvent StreamingMessagingOpen SourcePub-SubArazzoWorkflows
Provider
Workflows
pause-and-resume-connector
Bracket a maintenance window with a confirmed pause and resume.
Pauses a connector, verifies the paused state, resumes it, and verifies it is running again, preserving offsets throughout.
1
recordStateBefore
getConnectorStatus
Record the connector state before the maintenance window so the caller knows what "back to normal" looks like on the way out.
2
pauseConnector
pauseConnector
Pause the connector. The pause is asynchronous, so the worker accepts the request and transitions the connector and its tasks in the background.
3
confirmPaused
getConnectorStatus
Confirm the connector actually reached PAUSED. Because the pause is asynchronous, the maintenance window must not begin until the worker reports the paused state.
4
resumeConnector
resumeConnector
Resume the connector once maintenance is complete. It picks up from its committed offsets, so no records are skipped or reprocessed.
5
confirmResumed
getConnectorStatus
Confirm the connector returned to RUNNING after the window closed rather than sitting paused or failing on the first post-maintenance poll.