Apache Kafka · Arazzo Workflow
Apache Kafka Rewind Connector Offsets
Version 1.0.0
Stop a connector, capture its offsets, rewind them to a chosen position, and resume.
View Spec
View on GitHub
Distributed SystemsEvent StreamingMessagingOpen SourcePub-SubArazzoWorkflows
Provider
Workflows
rewind-connector-offsets
Alter a stopped connector's offsets to replay data, then resume it.
Stops the connector, snapshots its offsets for rollback, writes the target offsets, and resumes processing from the rewound position.
1
stopConnector
stopConnector
Stop the connector. This is mandatory: Kafka Connect rejects offset alterations for connectors that are running or merely paused.
2
captureOffsets
getConnectorOffsets
Capture the connector's current offsets before altering them. This snapshot is the only rollback path if the rewind target turns out to be wrong.
3
rewindOffsets
alterConnectorOffsets
Write the target offsets to the stopped connector so that it will replay from the requested position when it resumes.
4
verifyOffsets
getConnectorOffsets
Read the offsets back while the connector is still stopped, confirming the rewind landed before any data is reprocessed.
5
resumeConnector
resumeConnector
Resume the connector so it begins processing from the rewound offsets.
6
confirmReplaying
getConnectorStatus
Confirm the connector returned to a healthy state and is replaying from the new position.