Stas Levin created BEAM-2073:
--------------------------------

             Summary: Change SourceDStream.rateControlledMaxRecords() to better 
reflect its intention
                 Key: BEAM-2073
                 URL: https://issues.apache.org/jira/browse/BEAM-2073
             Project: Beam
          Issue Type: Bug
          Components: runner-spark
            Reporter: Stas Levin
            Assignee: Stas Levin
            Priority: Minor


{{SourceDStream.rateControlledMaxRecords()}} returns {{Long.MAX_VALUE}} if no 
rate controller is defined, i.e., when the spark 
{{"spark.streaming.backpressure.enabled"}} configuration is {{false}}, which it 
is by default.

Since the method's name implies it returns a limit determined by the rate 
controller, when one is not defined it is somewhat counter-intuitive to get 
back a {{Long.MAX_VALUE}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to