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

Prashant Sharma commented on SPARK-3282:
----------------------------------------

You can create as many receivers as you like, by creating multiple dstream and 
doing a union on them. There are examples illustrating this like: 
https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/streaming/RawNetworkGrep.scala.
 Here you can specify how many dstreams to create and same number of receivers 
are created.

> It should support multiple receivers at one socketInputDStream 
> ---------------------------------------------------------------
>
>                 Key: SPARK-3282
>                 URL: https://issues.apache.org/jira/browse/SPARK-3282
>             Project: Spark
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 1.0.2
>            Reporter: shenhong
>
> At present, a socketInputDStream support at most one receiver, it will be 
> bottleneck when large inputStrem appear. 
> It should support multiple receivers at one socketInputDStream 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to