You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martin Liesenberg (JIRA)" <ji...@apache.org> on 2016/04/29 14:24:13 UTC

[jira] [Commented] (FLINK-3404) Extend Kafka consumers with interface StoppableFunction

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

Martin Liesenberg commented on FLINK-3404:
------------------------------------------

I have been looking at this task recently and just want to make sure I understand it correctly: there are a {{close}} and a {{cancel}} method already. the difference of the {{stop}} method would be the issuing of the checkpoint, right?

> Extend Kafka consumers with interface StoppableFunction
> -------------------------------------------------------
>
>                 Key: FLINK-3404
>                 URL: https://issues.apache.org/jira/browse/FLINK-3404
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kafka Connector
>            Reporter: Matthias J. Sax
>
> Kafka consumers are not stoppable right now. To make them stoppable, they must implement {{StoppableFunction}}. Implementing method {{stop()}} must ensure, that the consumer stops pulling new messages from Kafka and issues a final checkpoint with the last offset. Afterwards, {{run()}} must return.
> When implementing this, keep in mind, that the gathered checkpoint might later be used as a savepoint.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)