kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunnar Morling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-3821) Allow Kafka Connect source tasks to produce offset without writing to topics
Date Fri, 17 Nov 2017 22:00:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16257642#comment-16257642
] 

Gunnar Morling commented on KAFKA-3821:
---------------------------------------

Hi [~rhauch], seeing that this one is assigned for 1.1.0. Have you created a KIP for it already,
or plans to do so soon? I like the idea of the dedicated {{OffsetRecord}}.

> Allow Kafka Connect source tasks to produce offset without writing to topics
> ----------------------------------------------------------------------------
>
>                 Key: KAFKA-3821
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3821
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>    Affects Versions: 0.9.0.1
>            Reporter: Randall Hauch
>              Labels: needs-kip
>             Fix For: 1.1.0
>
>
> Provide a way for a {{SourceTask}} implementation to record a new offset for a given
partition without necessarily writing a source record to a topic.
> Consider a connector task that uses the same offset when producing an unknown number
of {{SourceRecord}} objects (e.g., it is taking a snapshot of a database). Once the task completes
those records, the connector wants to update the offsets (e.g., the snapshot is complete)
but has no more records to be written to a topic. With this change, the task could simply
supply an updated offset.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message