flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3404) Extend Kafka consumers with interface StoppableFunction
Date Mon, 15 Feb 2016 19:18:18 GMT
Matthias J. Sax created FLINK-3404:

             Summary: 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

View raw message