I have searched quite a lot on this but there doesn't seems to be a good guide around this.
From what I have searched there are a few things to consider:
- Resetting Sink Connector internal topics (status, config and offset).
- Source Connector offsets implementation is implementation specific.
Question: Is there even a need to reset these topics?
- Deleting the consumer group.
- Restarting the connector with a different name (this is also an option) but it doesn't seems to be the right thing to do.
- Resetting consumer group to
--reset-offsets
to--to-earliest
- Using the REST API (Does the it provides the functionality to reset and read from beginning)
What would be the best way to restart both a sink and a source connector to read from beginning?
connect-<connectorName>
worked for me when resetting offsets for sink consumer – Chevron