Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/10892#discussion_r50739141
--- Diff:
external/akka/src/main/scala/org/apache/spark/streaming/akka/ActorReceiver.scala
---
@@ -140,6 +181,48 @@ abstract class ActorReceiver extends Actor {
@DeveloperApi
abstract class JavaActorReceiver extends UntypedActor {
+ /**
+ * start a new actor-based receiver, spark streaming will asynchronously
send the corresponding
+ * ActorRef object to the caller actor of this API
+ *
+ * @param props the props object of the receiver actor
+ * @param name the name of the actor
+ */
+ def startNewActorReceiver(props: Props, name: String) {
+ context.parent !(props, name)
--- End diff --
nit: space after `!`
---
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]