You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Randall Hauch (Jira)" <ji...@apache.org> on 2021/03/18 18:21:00 UTC
[jira] [Commented] (KAFKA-3813) Let SourceConnector implementations
access the offset reader
[ https://issues.apache.org/jira/browse/KAFKA-3813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304330#comment-17304330 ]
Randall Hauch commented on KAFKA-3813:
--------------------------------------
[KIP-131|https://cwiki.apache.org/confluence/display/KAFKA/KIP-131+-+Add+access+to+OffsetStorageReader+from+SourceConnector] was implemented with KAFKA-4794.
> Let SourceConnector implementations access the offset reader
> ------------------------------------------------------------
>
> Key: KAFKA-3813
> URL: https://issues.apache.org/jira/browse/KAFKA-3813
> Project: Kafka
> Issue Type: New Feature
> Components: KafkaConnect
> Affects Versions: 0.10.0.0
> Reporter: Randall Hauch
> Priority: Major
> Labels: needs-kip
>
> When a source connector is started, having access to the {{OffsetStorageReader}} would allow it to more intelligently configure its tasks based upon the stored offsets. (Currently only the {{SourceTask}} implementations can access the offset reader (via the {{SourceTaskContext}}), but the {{SourceConnector}} does not have access to the offset reader.)
> Of course, accessing the stored offsets is not likely to be useful for sink connectors.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)