Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC43218EF3 for ; Fri, 26 Feb 2016 17:40:00 +0000 (UTC) Received: (qmail 49444 invoked by uid 500); 26 Feb 2016 17:40:00 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 49383 invoked by uid 500); 26 Feb 2016 17:40:00 -0000 Mailing-List: contact dev-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 dev@flink.apache.org Received: (qmail 49356 invoked by uid 99); 26 Feb 2016 17:40:00 -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; Fri, 26 Feb 2016 17:40:00 +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 07689180492 for ; Fri, 26 Feb 2016 17:40:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 6p27RoxZ4nK4 for ; Fri, 26 Feb 2016 17:39:58 +0000 (UTC) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2F1765F1E3 for ; Fri, 26 Feb 2016 17:39:58 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id a4so79347327wme.1 for ; Fri, 26 Feb 2016 09:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=5jY81xLC2MR5qdVVH8zQnB4/09DznRM7NYEUAYM55dw=; b=HoypjFOYmb89e2F+ecUZQL5BckBnD7jzKbtdjqXLStygtxAT9dxeKCVMU5pNpHK2C6 PsaXomsi1t4PTyUb88CGluYZyZkpkh4irElSSHKGTLql3mGhJT56TvqbEBWvJmHSEDhW hcpNXdgAgvUXk/TaBGVO9StoZ+Mvs2LBSr7ZMJLKdeoC1DYO+czrUwDpxyIWbFd1D4r3 ChzR/PdDCneVB30FgKjAcHEnzuOCO4xmsaHbxZH02OGVpaVJAPpJ9Z020wLkrxqI1sWJ V0Vs/jGurhC/KIZxm8/5F+AlzNgjxQnwoRRomkF0MFuVp87XzmB87AAFtgYn6yFZUiiu GB/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=5jY81xLC2MR5qdVVH8zQnB4/09DznRM7NYEUAYM55dw=; b=BxpPk5z9VTwjyxKK5ZZaZIepVwCYiR5O+dxnEfH0PbvIrOV7V59rTKmTg7yHfpDm4U VLzbTw/+dXr2+rP/UEgUNPv0N7QYFD/dFXmavJ8rkn9llrgEScc973S7oqOMlVGmiKIJ uMkDnYJLD8h6TrLd+uEbu8GYazVVj90ogzXFZxyoW5d1Ke91LfWTqXBOpT54x6Av6n63 pwKKAeOkWypYaIfWZ4lfhqi9aDopzu24xHrlt9hGmCV1BZDuM++OuVoOxiCG7dANBqz9 hbzuWvUvzBsH5vv4yXoHd7G1y+OQ/N6P3X30MaejAsJkXV0Yl8s2expUGbRyIEMgaRHY Kojw== X-Gm-Message-State: AD7BkJL2wTYKVN2y6VWgIHaFgrWi+xNKhgKjleVJoYYebLTZ3oCKfGofLuICfBEVS/Es+H0gBi9Woa0tEuNf9Q== MIME-Version: 1.0 X-Received: by 10.194.62.179 with SMTP id z19mr3064515wjr.96.1456508397846; Fri, 26 Feb 2016 09:39:57 -0800 (PST) Received: by 10.194.5.134 with HTTP; Fri, 26 Feb 2016 09:39:57 -0800 (PST) In-Reply-To: <56D0211D.2050908@web.de> References: <56D0211D.2050908@web.de> Date: Fri, 26 Feb 2016 09:39:57 -0800 Message-ID: Subject: Re: JDBC Streaming Connector From: Timothy Farkas To: dev@flink.apache.org Content-Type: multipart/alternative; boundary=047d7b86dcb4aa8d3b052cafc9f2 --047d7b86dcb4aa8d3b052cafc9f2 Content-Type: text/plain; charset=UTF-8 Thanks everyone. I'll take a look at JDBCOutputFormat, and FLINK-3332 along with other related tickets. Tim On Fri, Feb 26, 2016 at 1:55 AM, Chesnay Schepler wrote: > I'm actually working on a JDBC streaming connector with transactions. > > > On 26.02.2016 10:33, Stephan Ewen wrote: > >> Hi Timothy! >> >> I would first just write a stream data sink based on the JDBCOutputFormat, >> and then let's look into making it exactly-once. >> >> For JDBC with support for transactions, the basic idea would be to start a >> transaction, insert elements, commit when a checkpoint is confirmed, and >> start a new transaction. >> >> On Fri, Feb 26, 2016 at 10:28 AM, Till Rohrmann >> wrote: >> >> Hi Timothy, >>> >>> you can use the `JDBCOutputFormat` in combination with the >>> `DataStream.writeUsingOutputFormat` method. However, this won't give you >>> exactly once guarantees since the output formats don't take part in the >>> checkpointing mechanism. >>> >>> Currently, Chesnay is working on a generic framework for almost exactly >>> once sinks. Maybe you can sync with him. You'll find the corresponding >>> JIRA >>> ticket here [1]. >>> >>> [1] https://issues.apache.org/jira/browse/FLINK-3332 >>> >>> Cheers, >>> Till >>> >>> >>> On Fri, Feb 26, 2016 at 1:23 AM, Timothy Farkas < >>> timothytiborfarkas@gmail.com> wrote: >>> >>> Hi All, >>>> >>>> I'm new to Flink and was looking for a JDBC stream sink connector, and >>>> didn't see one in flink-streaming-connectors. Is there one somewhere >>>> >>> else, >>> >>>> or is there one currently in development. If not could I pick up a >>>> ticket >>>> to add it? >>>> >>>> Thanks, >>>> Tim >>>> >>>> > --047d7b86dcb4aa8d3b052cafc9f2--