Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F242117D6F for ; Thu, 1 Oct 2015 16:19:26 +0000 (UTC) Received: (qmail 48767 invoked by uid 500); 1 Oct 2015 16:19:26 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 48719 invoked by uid 500); 1 Oct 2015 16:19:26 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 48709 invoked by uid 99); 1 Oct 2015 16:19:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2015 16:19:26 +0000 Date: Thu, 1 Oct 2015 16:19:26 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-2727) Add a base class for MessageQueue-with-acknowledgement sources MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940030#comment-14940030 ] ASF GitHub Bot commented on FLINK-2727: --------------------------------------- Github user mxm commented on the pull request: https://github.com/apache/flink/pull/1163#issuecomment-144777018 Valuable base class for integrating messaging queuing systems. Looks good. > Add a base class for MessageQueue-with-acknowledgement sources > -------------------------------------------------------------- > > Key: FLINK-2727 > URL: https://issues.apache.org/jira/browse/FLINK-2727 > Project: Flink > Issue Type: New Feature > Components: Streaming > Affects Versions: 0.10 > Reporter: Stephan Ewen > Assignee: Stephan Ewen > > Several message queues (RabbitMQ, Amazon SQS) have the pattern that you retrieve messages and acknowledge them back by ID. > We can create a simple base non-parallel source that provides tooling for: > - Collecting the IDs of elements emitted between two checkpoints > - Persisting them with the checkpoint, respecting proper serialization > - Acknowledging them when a checkpoint is notified of completion. > This assumes that the Message Queues retain unacknowledged messages and re-emit them after the acknowledgement period expired. -- This message was sent by Atlassian JIRA (v6.3.4#6332)