Github user akonopko commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19431#discussion_r173719300
  
    --- Diff: 
external/kafka-0-8/src/test/scala/org/apache/spark/streaming/kafka/DirectKafkaStreamSuite.scala
 ---
    @@ -456,6 +455,60 @@ class DirectKafkaStreamSuite
         ssc.stop()
       }
     
    +  test("backpressure.initialRate should honor maxRatePerPartition") {
    +    backpressureTest(maxRatePerPartition = 1000, initialRate = 500, 
maxMessagesPerPartition = 250)
    +  }
    +
    +  test("use backpressure.initialRate with backpressure") {
    --- End diff --
    
    Right, thank you. I will correct this


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to