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 4FDCA200BCB for ; Wed, 9 Nov 2016 13:30:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4E8A0160AEE; Wed, 9 Nov 2016 12:30:05 +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 BC068160AFD for ; Wed, 9 Nov 2016 13:30:04 +0100 (CET) Received: (qmail 14875 invoked by uid 500); 9 Nov 2016 12:29:59 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 14730 invoked by uid 99); 9 Nov 2016 12:29:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2016 12:29:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CA4092C2A68 for ; Wed, 9 Nov 2016 12:29:58 +0000 (UTC) Date: Wed, 9 Nov 2016 12:29:58 +0000 (UTC) From: "austin solomon (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-4199) Functionality to extract keys from values when sinking data from kafka topics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 09 Nov 2016 12:30:05 -0000 austin solomon created IGNITE-4199: -------------------------------------- Summary: Functionality to extract keys from values when sinking data from kafka topics Key: IGNITE-4199 URL: https://issues.apache.org/jira/browse/IGNITE-4199 Project: Ignite Issue Type: Improvement Components: streaming Affects Versions: 1.7 Environment: linux, centos 7 Reporter: austin solomon Priority: Blocker Fix For: 1.7 I have a use case where I am reading a text file using kafka's FileStreamSource connector and sinking the data to Ignite's cache. I got an error while doing this Error: ERROR Failed to stream a record with null key! (org.apache.ignite.stream.kafka.connect.IgniteSinkTask:96) When I printed the streamed record i got the following result : key=null SinkRecord{kafkaOffset=2, timestampType=CreateTime} ConnectRecord{topic='ignitetest', kafkaPartition=2, key=null, value=k1,v1, timestamp=1478690650016} I wish to have a functionality to extracting keys from values or any work around. -- This message was sent by Atlassian JIRA (v6.3.4#6332)