You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2015/12/08 11:05:11 UTC

[jira] [Created] (SPARK-12203) Add KafkaDirectInputDStream that directly pulls messages from Kafka Brokers using receivers

Liang-Chi Hsieh created SPARK-12203:
---------------------------------------

             Summary: Add KafkaDirectInputDStream that directly pulls messages from Kafka Brokers using receivers
                 Key: SPARK-12203
                 URL: https://issues.apache.org/jira/browse/SPARK-12203
             Project: Spark
          Issue Type: New Feature
          Components: Streaming
            Reporter: Liang-Chi Hsieh


Currently, we have DirectKafkaInputDStream, which directly pulls messages from Kafka Brokers without any receivers, and KafkaInputDStream, which pulls messages from a Kafka Broker using receiver with zookeeper.

As we observed, because DirectKafkaInputDStream retrieves messages from Kafka after each batch finishes, it posts a latency compared with KafkaInputDStream that continues to pull messages during each batch window.

So we try to add KafkaDirectInputDStream that directly pulls messages from Kafka Brokers as DirectKafkaInputDStream, but it uses receivers as KafkaInputDStream and pulls messages during each batch window.



--
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