Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A89618E8E for ; Wed, 30 Dec 2015 16:34:50 +0000 (UTC) Received: (qmail 8397 invoked by uid 500); 30 Dec 2015 16:34:50 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 8244 invoked by uid 500); 30 Dec 2015 16:34:49 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 8111 invoked by uid 99); 30 Dec 2015 16:34:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2015 16:34:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9EC702C1F55 for ; Wed, 30 Dec 2015 16:34:49 +0000 (UTC) Date: Wed, 30 Dec 2015 16:34:49 +0000 (UTC) From: "Mario Briggs (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-12177) Update KafkaDStreams to new Kafka 0.9 Consumer API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075172#comment-15075172 ] Mario Briggs commented on SPARK-12177: -------------------------------------- Nikita, thank you. A-C : Looks good to me. (BTW i didn't review changes related to receiver based approach, even in earlier round) D - I think it is OK for KafkaTestUtils to have dependency on core, since that is more of our internal test approach (however i havent spent time to think if even that can be bettered). To the higher issue, i think Kafka *will* provide TopicPartition as serializable, which will make this moot, but good that we have tracked it here > Update KafkaDStreams to new Kafka 0.9 Consumer API > -------------------------------------------------- > > Key: SPARK-12177 > URL: https://issues.apache.org/jira/browse/SPARK-12177 > Project: Spark > Issue Type: Improvement > Components: Streaming > Affects Versions: 1.6.0 > Reporter: Nikita Tarasenko > Labels: consumer, kafka > > Kafka 0.9 already released and it introduce new consumer API that not compatible with old one. So, I added new consumer api. I made separate classes in package org.apache.spark.streaming.kafka.v09 with changed API. I didn't remove old classes for more backward compatibility. User will not need to change his old spark applications when he uprgade to new Spark version. > Please rewiew my changes -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org