[
https://issues.apache.org/jira/browse/KAFKA-4107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595680#comment-16595680
]
Jeremy Custenborder commented on KAFKA-4107:
--------------------------------------------
I would say no. It should throw a bad request saying the connector is not
defined. Personally I think we need to have some better hygiene when it comes
to cleaning up offsets in general. It's confusing that if I delete my connector
and recreate it with the same name it starts at the old offsets. In general I
think I should be connect should be better about cleaning up offsets for both
the source and sink. I would want to be able to stop a connector, restart from
a specific offset, start the connector all through the API. If I delete a
connector I would expect all offsets to be removed.
> Support offset reset capability in Kafka Connect
> ------------------------------------------------
>
> Key: KAFKA-4107
> URL: https://issues.apache.org/jira/browse/KAFKA-4107
> Project: Kafka
> Issue Type: Improvement
> Components: KafkaConnect
> Reporter: Jason Gustafson
> Priority: Major
>
> It would be useful in some cases to be able to reset connector offsets. For
> example, if a topic in Kafka corresponding to a source database is
> accidentally deleted (or deleted because of corrupt data), an administrator
> may want to reset offsets and reproduce the log from the beginning. It may
> also be useful to have support for overriding offsets, but that seems like a
> less likely use case.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)