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

Yong Tang commented on SPARK-14531:
-----------------------------------

Thanks [~hermansc], I noticed that my previous understanding may not be 
correct. Let me do some further investigation and see what I could do to update 
the pull request.

> Flume streaming should respect maxRate (and backpressure)
> ---------------------------------------------------------
>
>                 Key: SPARK-14531
>                 URL: https://issues.apache.org/jira/browse/SPARK-14531
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.6.1
>            Reporter: Herman Schistad
>            Priority: Minor
>
> As far as I can understand the FlumeUtils.createPollingStream(...) ignores 
> key spark streaming configuration options such as:
> spark.streaming.backpressure.enabled
> spark.streaming.receiver.maxRate
> ...
> I might just be mistaken, but since the DEFAULT_POLLING_BATCH_SIZE is set to 
> 1000 in the source code itself, then I presume it should use the variables 
> above instead.
> *Relevant code:*  
> https://github.com/apache/spark/blob/master/external/flume/src/main/scala/org/apache/spark/streaming/flume/FlumeUtils.scala



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

Reply via email to