GitHub user adesharatushar opened a pull request:

    https://github.com/apache/spark/pull/16408

    [SPARK-19003][DOCS] Add Java example in Spark Streaming Guide, section 
Design Patterns for using foreachRDD

    ## What changes were proposed in this pull request?
    
    Added missing Java example under section "Design Patterns for using 
foreachRDD". Now this section has examples in all 3 languages, improving 
consistency of documentation.
    
    
    ## How was this patch tested?
    
    Manual.
    Generated docs using command "SKIP_API=1 jekyll build" and verified 
generated HTML page manually.
    
    The syntax of example has been tested for correctness using sample code on 
Java1.7 and Spark 2.2.0-SNAPSHOT.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/adesharatushar/spark streaming-doc-fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16408.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16408
    
----
commit a229ce8559ea8c493997e51af4a739b0555263f1
Author: adesharatushar <[email protected]>
Date:   2016-12-26T15:58:25Z

    Added Java example for using connections with streaming.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to