Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 12F31200498 for ; Tue, 29 Aug 2017 14:11:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0DD301657EA; Tue, 29 Aug 2017 12:11:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 53833162DFB for ; Tue, 29 Aug 2017 14:11:46 +0200 (CEST) Received: (qmail 52481 invoked by uid 500); 29 Aug 2017 12:11:44 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 52465 invoked by uid 99); 29 Aug 2017 12:11:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2017 12:11:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 86696186AA2 for ; Tue, 29 Aug 2017 12:11:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.629 X-Spam-Level: ** X-Spam-Status: No, score=2.629 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id SHP__4lhi0JS for ; Tue, 29 Aug 2017 12:11:42 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E560760F05 for ; Tue, 29 Aug 2017 12:11:41 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id t75so25682790oie.3 for ; Tue, 29 Aug 2017 05:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VP0wgQw6UzHs2v2cYXilFNSqLwbEMnRedfOFtMbCKMw=; b=e52hi+TfzWnd36Ff7LQqVvydloD/isgCDOkboTN+56Hth3rrUaRDNLqBSkeNDKdsZt 8m1dSn+6XEAYvxTFTOqKJcgc9x81ovuIUnwi+xr2OrvZ4OqPd9pjW2Qx+pLATWcN91Kk Psp60pwcaTe+KQa470WEP9VnI1bSAYroWRwIl+U/V07Eos6SaYGnfP6I1j4eWFAj/rm1 y0yo0P5Q7Shal8Ox/FYPA+MREt1wXdT3K9BAmOsnoUbNIRY9EWRQ0DmEA7N42TIm5E+U eXiNDxBE7W/xkVN9Mb00aqH/iBJgDxadVT8SW0c4Iwru86V1H0sNe+o7FQupnD/Q6MGE 67pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VP0wgQw6UzHs2v2cYXilFNSqLwbEMnRedfOFtMbCKMw=; b=WihoimfegB4LAe/Ko3ccjIIC432IdUW5+jRg0H4PnOuBecZgiPRz3qfKjfYZ/vRmQ9 xjvn0MpZ27Lko9K0w/HKHMfqGRPtnp3tVlpnWV78tpjxQenSs1/PRZzz29opkZe2svYx b3X+B20LIEIjy7suBVbhvc9uJobAEwczNbdEI+YK3sGVHQhJy0pz+PE5wxMSgXZXg8wK OIR4X43XHYrKUgW9RNUJDoMovqEAsGir6AZiu4yBiXqhYf+V5BX5EKxO79RqgXtHA3ia uebc7UHNfa3KVogp/B+g52BOJDfMXxv0N2YBz8IzuOl8JT76C1LNRnluEqRaSxJU5t9d Blmg== X-Gm-Message-State: AHYfb5gOyFCVPwwxOW5mqeonunaITCuxBwuwiHyBfl92qa1txrdiapIO 9wG9wxUzZpDgj/1yNWGyYEzBoViDCA== X-Received: by 10.202.173.86 with SMTP id w83mr68960oie.125.1504008700322; Tue, 29 Aug 2017 05:11:40 -0700 (PDT) MIME-Version: 1.0 From: Or Sher Date: Tue, 29 Aug 2017 12:11:29 +0000 Message-ID: Subject: Atomic savepint and cancel To: user@flink.apache.org Content-Type: multipart/alternative; boundary="001a113cefd4526aaf0557e3504e" archived-at: Tue, 29 Aug 2017 12:11:47 -0000 --001a113cefd4526aaf0557e3504e Content-Type: text/plain; charset="UTF-8" Hi, I'm a bit new to Flink and I'm trying to figure out what's the best way to make an upgrade for my current running topology without having duplicate messages being sent by the the sink. (One time prior the upgrade and one time after). I thought that the "atomic" part of the savepoint & cancel suggested that i can just take a savepoint and cancel the job at the same time and later on start from that savepoint and that would be it. Having tried that, it seems that I got many duplicated messages sent by the kafka producer sink again after the restore from savepoint. Is that suppose to happen? Did I misunderstood the "atomic" meaning? Thanks, Or. --001a113cefd4526aaf0557e3504e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm a bit new to Flink and I= 9;m trying to figure out what's the best way to make an upgrade for my = current running topology without having duplicate messages being sent by th= e the sink. (One time prior the upgrade and one time after).

=
I thought that the "atomic" part of the savepoint &= ; cancel suggested that i can just take a savepoint and cancel the job at t= he same time and later on start from that savepoint and that would be it.

Having tried that, it seems that I got many duplica= ted messages sent by the kafka producer sink again after the restore from s= avepoint.

Is that suppose to happen?
Did= I misunderstood the "atomic" meaning?

T= hanks,
Or.
--001a113cefd4526aaf0557e3504e--