You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Aarthi (JIRA)" <ji...@apache.org> on 2018/11/29 09:48:00 UTC
[jira] [Created] (SPARK-26213) Custom Receiver for Structured
streaming
Aarthi created SPARK-26213:
------------------------------
Summary: Custom Receiver for Structured streaming
Key: SPARK-26213
URL: https://issues.apache.org/jira/browse/SPARK-26213
Project: Spark
Issue Type: New Feature
Components: Spark Core
Affects Versions: 2.4.0
Reporter: Aarthi
Hi,
I have implemented a Custom Receiver for a https/json data source by implementing the Receievr abstract class as provided in the documentation here [https://spark.apache.org/docs/latest//streaming-custom-receivers.html]
This approach works on Spark streaming context where the custom receiver class is passed it receiverStream. However I would like the implement the same for Structured streaming as each of the DStreams have a complex structure and need to be joined with each other based on complex rules. ([https://stackoverflow.com/questions/53449599/join-two-spark-dstreams-with-complex-nested-structure])
Structured streaming uses the Spark Session object that takes in DataStreamReader which is a final class. Please advice on how to implement the custom receiver for Strucutred Streaming.
Thanks,
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org