You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Stas Levin (JIRA)" <ji...@apache.org> on 2017/04/25 09:05:04 UTC

[jira] [Created] (BEAM-2073) Change SourceDStream.rateControlledMaxRecords() to better reflect its intention

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)