beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stas Levin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-2073) Change SourceDStream.rateControlledMaxRecords() to better reflect its intention
Date Mon, 01 May 2017 13:31:04 GMT

     [ https://issues.apache.org/jira/browse/BEAM-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stas Levin resolved BEAM-2073.
------------------------------
       Resolution: Fixed
    Fix Version/s: First stable release

> 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
>             Fix For: First stable release
>
>
> {{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)

Mime
View raw message