You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Lokesh Kumar (JIRA)" <ji...@apache.org> on 2019/02/28 11:05:00 UTC

[jira] [Commented] (SPARK-18580) Use spark.streaming.backpressure.initialRate in DirectKafkaInputDStream

    [ https://issues.apache.org/jira/browse/SPARK-18580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16780381#comment-16780381 ] 

Lokesh Kumar commented on SPARK-18580:
--------------------------------------

Hi All, Is this issue fixed in 2.4.0 ??

We need to use backpressure intial rate in Kafka direct stream, can we use it now?

> Use spark.streaming.backpressure.initialRate in DirectKafkaInputDStream
> -----------------------------------------------------------------------
>
>                 Key: SPARK-18580
>                 URL: https://issues.apache.org/jira/browse/SPARK-18580
>             Project: Spark
>          Issue Type: Improvement
>          Components: DStreams
>    Affects Versions: 2.0.2
>            Reporter: Oleg Muravskiy
>            Assignee: Oleksandr Konopko
>            Priority: Major
>
> Currently the `spark.streaming.kafka.maxRatePerPartition` is used as the initial rate when the backpressure is enabled. This is too exhaustive for the application while it still warms up.
> This is similar to SPARK-11627, applying the solution provided there to DirectKafkaInputDStream.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org