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 B0F68200AFE for ; Fri, 6 May 2016 13:47:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AFC55160A0D; Fri, 6 May 2016 11:47:43 +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 0D25A1609F6 for ; Fri, 6 May 2016 13:47:42 +0200 (CEST) Received: (qmail 6105 invoked by uid 500); 6 May 2016 11:47:42 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 6095 invoked by uid 99); 6 May 2016 11:47:42 -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, 06 May 2016 11:47:42 +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 81E19180298 for ; Fri, 6 May 2016 11:47:41 +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 mx2-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 Fv2FRp-pYoEg for ; Fri, 6 May 2016 11:47:39 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id C456D5FBC4 for ; Fri, 6 May 2016 11:47:38 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id a17so73702237wme.0 for ; Fri, 06 May 2016 04:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=o3kJvwRErhVxjlcP32q89WeA6+l7yxjQZSLYDbnec6s=; b=svtdwYZVY3sm7pSM0DTgNNqORJOgzNzvl00mC0molSD/m0PjzPjG5w3X/54UrJOEH1 5xZaptsQ9NaYdDDrx2svGcMErWiR2w9k0h0BminJFH3KnEw4WRduRQgmAZHJdqKq/aXh 34Tb97Es/cJ+YAyMjgLUBdxM1h5A2zYr/yEUfygxOXPLw1b5C/VCna/dTGV2Xa7TrewG kwqEIaznOeHprfp4khKOkiWL2ABxmQ4HB+RS+g7c6p4urksYXz//BTbquGF5DzeR0W2n QeylLJ51NT2s/AjOvtKng0aRgIa/jALiyuBURMXfD0OwXGjft0N4QqS1lt/CKHDwBcWB bkIA== 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:from:date :message-id:subject:to; bh=o3kJvwRErhVxjlcP32q89WeA6+l7yxjQZSLYDbnec6s=; b=RL1fuz03uXJgDVj7HujifR72AfseB1swvQ8gomVEoEy67FoikSQGw+0i7rT35iL8B2 IaP0f9NqmtGsy5FzVCsm6l0QDRiWmnzN/KZFvj2C6jIbgAwzM+OrS+Lir/twt6ZbtSrO +RsdH0PG7MCGl9XuYegZ21LTI0Z9yNx3k3oGBXU48X79n4H43l/h4Yf42megQOejfwS3 76CXhnhaM3rmOQdjExhEnwiTdM/dlRJhjwMEXOJSh/jy9auL+0hzkQdjh/eZI+DsX4bQ vtEEILNeUZZ37l40E58GJ7rAp+ixUn+40ip8KYlZlH2FtPaLnj4vZyvDJ7M7DgFbgk+O zz0w== X-Gm-Message-State: AOPr4FVU2WnropHS2c7izA4hFCGMuZynAftVRM7HhrIb7fv+qEYrIA+b/CGB7iMa3r2zDWJtRpl1O8JKbGVHvw== X-Received: by 10.194.200.65 with SMTP id jq1mr2858087wjc.21.1462535258557; Fri, 06 May 2016 04:47:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.29.84 with HTTP; Fri, 6 May 2016 04:47:08 -0700 (PDT) In-Reply-To: References: From: Fabian Hueske Date: Fri, 6 May 2016 13:47:08 +0200 Message-ID: Subject: Re: OutputFormat in streaming job To: user@flink.apache.org Content-Type: multipart/alternative; boundary=047d7b874e5a8ed32a05322b0624 archived-at: Fri, 06 May 2016 11:47:44 -0000 --047d7b874e5a8ed32a05322b0624 Content-Type: text/plain; charset=UTF-8 Hi Andrea, you can use any OutputFormat to emit data from a DataStream using the writeUsingOutputFormat() method. However, this method does not guarantee exactly-once processing. In case of a failure, it might emit some records a second time. Hence the results will be written at least once. Hope this helps, Fabian 2016-05-06 12:45 GMT+02:00 Andrea Sella : > Hi, > > I created a custom OutputFormat to send data to a remote actor, there are > issues to use an OutputFormat into a stream job? Or it will treat like a > Sink? > > I prefer to use it in order to create a custom ActorSystem per TM in the > configure method. > > Cheers, > Andrea > --047d7b874e5a8ed32a05322b0624 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Andrea,

you can use an= y OutputFormat to emit data from a DataStream using the writeUsingOutputFor= mat() method.
However, this method does not guarantee exactly-once= processing. In case of a failure, it might emit some records a second time= . Hence the results will be written at least once.

Hope this h= elps,
Fabian

2016-05-06 12:45 GMT+02:00 Andrea Sella <= ;andrea.sel= la@radicalbit.io>:
Hi,

I created a custom OutputFormat to send data to a remot= e actor, there are issues to use an OutputFormat into a stream job? Or it w= ill treat like a Sink?

I prefer to use it in order to create a custo= m ActorSystem per TM in the configure method.

Cheers,
Andrea

--047d7b874e5a8ed32a05322b0624--