Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CdapIO] Design and implement Spark Receiver Builder #21673

Closed
damccorm opened this issue Jun 5, 2022 · 4 comments · Fixed by #17111
Closed

[CdapIO] Design and implement Spark Receiver Builder #21673

damccorm opened this issue Jun 5, 2022 · 4 comments · Fixed by #17111

Comments

@damccorm
Copy link
Contributor

damccorm commented Jun 5, 2022

Context:

CDAP plugins that support streaming sources include Receiver classes (ex. HubSpotReceiver) that extend org.apache.spark.streaming.receiver.Receiver abstract class. Receiver classes are used by plugin Streaming Utils classes (ex. HubSpotStreamingUtils) to provide getStream() method to Streaming Source classes (ex. HubSpotStreamingSource) and usually placed in cdap/plugin/\{<plugin name>}/plugin/source/streaming folder (ex. HubSpot plugin repo).

Reference information:

Task Description:

Required to design custom Spark receivers builder class so that the custom receivers can be used in Apache Beam connector via SparkReceiverIO interface (used in CDAP IO as a dependency).

Acceptance criteria:

Design of builder class(es) that will create custom Spark receivers in Apache Beam connectors ({}SparkReceiverIO{}).

Note:

It is necessary that this builder class be independent of CDAP receivers and can be used by any other custom Spark receiver like a part of SparkReceiverIO.

Imported from Jira BEAM-14101. Original Jira may contain additional context.
Reported by: elizaveta.lomteva.

@damccorm
Copy link
Contributor Author

damccorm commented Jun 5, 2022

Unable to assign user @Lizzfox. If able, self-assign, otherwise tag @damccorm so that he can assign you. Because of GitHub's spam prevention system, your activity is required to enable assignment in this repo.

@damccorm damccorm added the task label Jun 5, 2022
@elizaveta-lomteva
Copy link
Contributor

@damccorm please assign this task to me and @Amar3tto. I can't edit it
Thanks

@damccorm
Copy link
Contributor Author

damccorm commented Jun 6, 2022

I assigned you, @Amar3tto will need to interact with an issue before I can assign them (commenting here is fine)

@Amar3tto
Copy link
Contributor

Amar3tto commented Jun 7, 2022

@damccorm Please assign to me.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants