[
https://issues.apache.org/jira/browse/KAFKA-4107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595676#comment-16595676
]
Randall Hauch commented on KAFKA-4107:
--------------------------------------
[~jcustenborder], adding it to the REST API is a very interesting idea. Source
offsets are specific to the source connector, so wouldn't you need to read the
latest offset to get the structure and then use a new REST API resource to stop
the connector, set the offsets, and restart the connector? If the connector was
not defined, then should the offset reset method still work?
> 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)