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 EA7EE200BC8 for ; Wed, 23 Nov 2016 14:40:14 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E91F8160AFB; Wed, 23 Nov 2016 13:40:14 +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 3D8E9160AFA for ; Wed, 23 Nov 2016 14:40:14 +0100 (CET) Received: (qmail 13134 invoked by uid 500); 23 Nov 2016 13:40:13 -0000 Mailing-List: contact dev-help@samza.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@samza.apache.org Delivered-To: mailing list dev@samza.apache.org Received: (qmail 13117 invoked by uid 99); 23 Nov 2016 13:40:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2016 13:40:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 930D7C1D3E for ; Wed, 23 Nov 2016 13:40:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id qIR3jKZ9vXcS for ; Wed, 23 Nov 2016 13:40:12 +0000 (UTC) Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com [209.85.216.177]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 88A415FAFB for ; Wed, 23 Nov 2016 13:40:11 +0000 (UTC) Received: by mail-qt0-f177.google.com with SMTP id p16so11570698qta.0 for ; Wed, 23 Nov 2016 05:40:11 -0800 (PST) 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=VTBuoKbrtXHlsuPfq/jEzeorWgzbkYu5gY+PVNhI2S8=; b=kMBKcJl7cyab0YDP0zacU2S4hzwEuWWr0Xe+UXIVv+4KUISnzN9kboNAfq3s3wOshY OgOm4RHWCZ2wE2xfIzrfUljxQfFUDgvUDbvwJ8W4if/4fXaBcr40Q1LCEmdyum9MzxxE qNw0REM1OD8yD01c2uz3aPB8L0n4LKnWS3F11jeKAhWbY4YFfYLP9e5tZ0dhlu6PzRxM SEIJYFCADnY7yd/X40TFpr4rNR/xzSy17em2jVpQ3cNKj734UwL9b8y7ccpOpj9sm89Y QlpWM6E7i9qxwgmB0Opf0zIUNYVeDvfJtqb+GFOlFjM2ZHlGG3iof52IPPWOEpiTThl+ OBUA== 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=VTBuoKbrtXHlsuPfq/jEzeorWgzbkYu5gY+PVNhI2S8=; b=BrmaugR7UIqLXAM/OEQNz+7yksAP3rC+LN82VSCCDb8LTk1j3PCTdmB7Za2niSMhVP EMKNZoRtgTICxd/uSQ7WO8RBegqgWfRW+OiCUgcMAbee9+sPhtqp814X+vZHyE7Wif3x 7oDhFYF9q5MVBcKnz/lmoAUZrGrZ18cZWz2PFIk5cMxraEIIUma667g3XxsGdl/IlNDo fwfjhNcl5IcQ4jNmR7NUivoTfBUszBSJvB2r3wr5dM2tj5/q38yw02Ti22w/DZqdbnkr ucoRXN44dy/1YHQP9sY8uN1Net3cfK3CEd1YvXdM7CSdKonHXVb1YNqIqnHONHYFGeoT ToQw== X-Gm-Message-State: AKaTC0060+PzgcUJIdojurw0QwOU+qzXUZ/Y2bYz8j1+2llLYEDFgi9ioXX3ZVmBGoXr11velQyw2nUL/1qpdw== X-Received: by 10.237.40.38 with SMTP id r35mr2540319qtd.0.1479908394899; Wed, 23 Nov 2016 05:39:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.49.73 with HTTP; Wed, 23 Nov 2016 05:39:54 -0800 (PST) In-Reply-To: References: From: Raj raj Date: Wed, 23 Nov 2016 19:09:54 +0530 Message-ID: Subject: Re: Catching exceptions from serde To: dev@samza.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Wed, 23 Nov 2016 13:40:15 -0000 Thanks for the reply Jagadish. On Tue, Nov 22, 2016 at 10:58 PM, Jagadish Venkatraman wrote: > If you are okay with dropping messages when there are ser-de errors, please > take a look at : > task.drop.deserialization.errors Ok. > Also, you probably want to fix the problem at the source you're consuming > from (on why it was generating invalid messages) Yes, that is what I wanted to find out. Ideally I want to log the incoming message with error to the log so that I can figure out what is wrong. I am sending (supposedly) valid json messages to the input. with regards, raj