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 DD855200B51 for ; Mon, 18 Jul 2016 05:45:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D969C160A6C; Mon, 18 Jul 2016 03:45: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 83630160A6B for ; Mon, 18 Jul 2016 05:45:13 +0200 (CEST) Received: (qmail 52162 invoked by uid 500); 18 Jul 2016 03:45:10 -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 52150 invoked by uid 99); 18 Jul 2016 03:45:10 -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; Mon, 18 Jul 2016 03:45:10 +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 CA0601A52FC for ; Mon, 18 Jul 2016 03:45:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 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_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id NANqYiCACKNL for ; Mon, 18 Jul 2016 03:45:07 +0000 (UTC) Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id C2D7C5FE64 for ; Mon, 18 Jul 2016 03:45:06 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id c2so59211940pfa.2 for ; Sun, 17 Jul 2016 20:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:mime-version:subject:date:references:to:in-reply-to; bh=JoZiO8uQ2s7VgomxEZU+SB+/kUqJufoa+4v7VFVkIaA=; b=IRI7Z93Pxf4ixxnkraK+a8z5kL0O29crx69Mfb9Wc0bvH0OMaVD8dt9K0tusKuX0tE smAFRJcBMBXcLNAesx7GsWhxgcO4PpEDym9HkCcDbNzv9x+BdZT4nbnZ+ZiSLFUV8Fwr xVJGI7JJqmSgqHnoH9aEZb2d4AsluT8yIffOjRqC3G29Xbb6F5lX2lXvMftioGtCpy6O kAgtWXjSAf1j243R/wGhaQ0YQTawvwEcggDQ3f7jo5DlsdHJS9SRBWA7zIL7PG7OGCVb W6oUMvzh2FzduxvIIZgKOqmyD1UjDEYSO/SfQmzVQ6WKvDIewHePkyL56aSRzzYaUXG/ h/Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:mime-version:subject:date :references:to:in-reply-to; bh=JoZiO8uQ2s7VgomxEZU+SB+/kUqJufoa+4v7VFVkIaA=; b=kjamb83L1J28/si06ox/47ZHic+jfmVrNsNGEfrMJ4AJF/8TDeWJJSrgJLAMrzXt2X zdEzs/bNhKu7fst4MFyGDZfrzwGBR3fzbAOf9is8CEgJMeUozk5bSG28OIrn3xejrsLw UhPw1V3dy/qoRUGR+0QOLCP9dj+t2uE/3sJ3c1LHLqvLbgw+NFqu/cUfltgcD7KFtkEO wIVL+jTgwcZAg7lc3GuDXHEVSzgMJWK61O9qPIGOmX7U7uoUraxLW71azsuWvaJPYQtI rmXp2TpesRG0uO8KoznHK9qW6rigvzLnRMrRgCNqhrPLk+BLZmzint//MgSdnGCuJYSG lNgw== X-Gm-Message-State: ALyK8tIE6k11UkkzheCLB25BmkzHVGQKbAoZfVL6LStffI7hRiV4BLZsmKzCNBIwPHNaqg== X-Received: by 10.98.16.193 with SMTP id 62mr42687190pfq.132.1468813499075; Sun, 17 Jul 2016 20:44:59 -0700 (PDT) Received: from sumanths-macbook-pro.fritz.box (71-84-64-5.dhcp.rvsd.ca.charter.com. [71.84.64.5]) by smtp.gmail.com with ESMTPSA id q1sm593385pfi.93.2016.07.17.20.44.57 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 Jul 2016 20:44:58 -0700 (PDT) From: Sumanth Chinthagunta Content-Type: multipart/alternative; boundary="Apple-Mail=_F466AB48-55EF-43E1-8863-A710394730BA" Message-Id: <62332FAC-1CC7-4CB9-90B9-6E92D7A754B9@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: ConsumeKafka vs getKafka Date: Sun, 17 Jul 2016 20:44:56 -0700 References: <4996BE21-8664-4764-B32C-5736A9057DD2@gmail.com> To: dev@nifi.apache.org In-Reply-To: <4996BE21-8664-4764-B32C-5736A9057DD2@gmail.com> X-Mailer: Apple Mail (2.3124) archived-at: Mon, 18 Jul 2016 03:45:16 -0000 --Apple-Mail=_F466AB48-55EF-43E1-8863-A710394730BA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Done. https://issues.apache.org/jira/browse/NIFI-2298 = Thanks=20 -Sumo > On Jul 17, 2016, at 1:37 PM, 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.key, 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: =E2=80=98data' > Key: 'path' > Value: './' > Key: 'uuid' > Value: '244059bb-9ad9-4d74-b1fb-312eee72124a' > =20 > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94 > 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=E2=80=99 >=20 > Thanks=20 > Sumo=20 --Apple-Mail=_F466AB48-55EF-43E1-8863-A710394730BA--