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 EE6D0200B47 for ; Sun, 17 Jul 2016 22:57:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ECE88160A6B; Sun, 17 Jul 2016 20:57:15 +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 3FFAD160A5F for ; Sun, 17 Jul 2016 22:57:15 +0200 (CEST) Received: (qmail 35252 invoked by uid 500); 17 Jul 2016 20:57:14 -0000 Mailing-List: contact dev-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list dev@nifi.apache.org Received: (qmail 35241 invoked by uid 99); 17 Jul 2016 20:57:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jul 2016 20:57:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 98D181A52F7 for ; Sun, 17 Jul 2016 20:57:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.798 X-Spam-Level: X-Spam-Status: No, score=0.798 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=1.499, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id iWl4EvFNSGoB for ; Sun, 17 Jul 2016 20:57:11 +0000 (UTC) Received: from relayvx12b.securemail.intermedia.net (relayvx12b.securemail.intermedia.net [64.78.52.186]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 77DDE5F246 for ; Sun, 17 Jul 2016 20:57:11 +0000 (UTC) Received: from securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 293D853DC9 for ; Sun, 17 Jul 2016 13:56:59 -0700 (PDT) Subject: Re: ConsumeKafka vs getKafka MIME-Version: 1.0 x-echoworx-msg-id: c1205e69-b13e-416a-b73c-a4e5a4c62a4e x-echoworx-emg-received: Sun, 17 Jul 2016 13:56:59.107 -0700 x-echoworx-message-code-hashed: 2bd4e58fe98cce0bb5d5d05ca0a729b475e89cb4c9e31adf6ae5d1eab3b9ebc5 x-echoworx-action: delivered Received: from 10.254.155.16 ([10.254.155.16]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 164 for ; Sun, 17 Jul 2016 13:56:59 -0700 (PDT) Received: from MBX080-W4-CO-2.exch080.serverpod.net (unknown [10.224.117.102]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id E68DD53DC9 for ; Sun, 17 Jul 2016 13:56:58 -0700 (PDT) Received: from MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) by MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Sun, 17 Jul 2016 13:56:57 -0700 Received: from MBX080-W4-CO-2.exch080.serverpod.net ([10.224.117.102]) by mbx080-w4-co-2.exch080.serverpod.net ([10.224.117.102]) with mapi id 15.00.1178.000; Sun, 17 Jul 2016 13:56:57 -0700 From: Oleg Zhurakousky To: "dev@nifi.apache.org" Thread-Topic: ConsumeKafka vs getKafka Thread-Index: AQHR4GscSgpxOWhocU+7aD7NYZ6U36AdGqz4 Date: Sun, 17 Jul 2016 20:56:57 +0000 Message-ID: <2788B4EF-CDE3-4AFB-A403-96CCFF5FD950@hortonworks.com> References: <4996BE21-8664-4764-B32C-5736A9057DD2@gmail.com> In-Reply-To: <4996BE21-8664-4764-B32C-5736A9057DD2@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-source-routing-agent: Processed Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable archived-at: Sun, 17 Jul 2016 20:57:16 -0000 Sumo Thank you for pointing this out. Very valid comments and just in time for t= he upcoming 1.0 release. Would you mind to raise a JIRA and we'll address i= t promptly?=20 Cheers=20 Oleg > On Jul 17, 2016, at 16:38, Sumanth Chinthagunta wrote= : >=20 > Env: Linux , Kafka 9.0.x, NiFi: 0.7=20 >=20 > We like to use new ConsumeKafka processor but found critical limitations= compared to old getKafka processor.=20 > New ConsumeKafka is not writing critical Kafka attributes i.e., kafka.ke= y, kafka.offset, kafka.partition etc into flowFile attributes.=20 >=20 >=20 > Old getKafka processor:=20 >=20 > Standard FlowFile Attributes > Key: 'entryDate' > Value: 'Sun Jul 17 15:17:00 CDT 2016' > Key: 'lineageStartDate' > Value: 'Sun Jul 17 15:17:00 CDT 2016' > Key: 'fileSize' > Value: '183' > FlowFile Attribute Map Content > Key: 'filename' > Value: '19709945781167274' > Key: 'kafka.key' > Value: '{"database":"test","table":"sc_job","pk.systemid":1= }' > Key: 'kafka.offset' > Value: '1184010261' > Key: 'kafka.partition' > Value: '0' > Key: 'kafka.topic' > Value: =91data' > Key: 'path' > Value: './' > Key: 'uuid' > Value: '244059bb-9ad9-4d74-b1fb-312eee72124a' >=20 > =97=97=97=97=97=97=97=97=97 > new ConsumeKafka processor :=20 >=20 > Standard FlowFile Attributes > Key: 'entryDate' > Value: 'Sun Jul 17 15:18:41 CDT 2016' > Key: 'lineageStartDate' > Value: 'Sun Jul 17 15:18:41 CDT 2016' > Key: 'fileSize' > Value: '183' > FlowFile Attribute Map Content > Key: 'filename' > Value: '19710046870478139' > Key: 'path' > Value: './' > Key: 'uuid' > Value: '349fbeb3-e342-4533-be4c-424793fa5c59=92 >=20 > Thanks=20 > Sumo