You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/03/10 21:39:04 UTC

[jira] [Commented] (SPARK-19911) Add builder interface for Kinesis DStreams

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

Apache Spark commented on SPARK-19911:
--------------------------------------

User 'budde' has created a pull request for this issue:
https://github.com/apache/spark/pull/17250

> Add builder interface for Kinesis DStreams
> ------------------------------------------
>
>                 Key: SPARK-19911
>                 URL: https://issues.apache.org/jira/browse/SPARK-19911
>             Project: Spark
>          Issue Type: New Feature
>          Components: DStreams
>    Affects Versions: 2.1.0
>            Reporter: Adam Budde
>            Priority: Minor
>
> The ```KinesisUtils.createStream()``` interface for creating Kinesis-based DStreams is quite brittle and requires adding a combinatorial number of overrides whenever another optional configuration parameter is added. This makes incorporating a lot of additional features supported by the Kinesis Client Library such as per-service authorization unfeasible. This interface should be replaced by a builder pattern class (https://en.wikipedia.org/wiki/Builder_pattern) to allow for greater extensibility.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org