[ https://issues.apache.org/jira/browse/SPARK-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190103#comment-15190103 ]
Cody Koeninger commented on SPARK-12177: ---------------------------------------- There are a lot of things I'm really not happy with so far. Given the variety of ways topic subscription works, I think we're better off with a user-provided zero-arg function to create a configured consumer for use on the driver, rather than taking kafka parameters and trying to wrap a consumer as I'm doing currently. People are going to need some kind of access for committing offsets to kafka, but I think that can be handled by submitting finished offset ranges to a threadsafe queue that gets drained in compute() So anyway, for the two or three people actually looking at my repo, expect changes ;) > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org