Create an input stream with a user-defined actor.
Create an input stream with a user-defined actor. Storage level of the data will be the default StorageLevel.MEMORY_AND_DISK_SER_2. See JavaActorReceiver for more details.
The StreamingContext instance
Props object defining creation of the actor
Name of the actor
An important point to note: Since Actor may exist outside the spark framework, It is thus user's responsibility to ensure the type safety, i.e. parametrized type of data received and createStream should be same.
Create an input stream with a user-defined actor.
Create an input stream with a user-defined actor. See JavaActorReceiver for more details.
The StreamingContext instance
Props object defining creation of the actor
Name of the actor
Storage level to use for storing the received objects
An important point to note: Since Actor may exist outside the spark framework, It is thus user's responsibility to ensure the type safety, i.e. parametrized type of data received and createStream should be same.
Create an input stream with a user-defined actor.
Create an input stream with a user-defined actor. See JavaActorReceiver for more details.
The StreamingContext instance
Props object defining creation of the actor
Name of the actor
Storage level to use for storing the received objects
A function to create ActorSystem in executors. ActorSystem
will
be shut down when the receiver is stopping.
the supervisor strategy
An important point to note: Since Actor may exist outside the spark framework, It is thus user's responsibility to ensure the type safety, i.e. parametrized type of data received and createStream should be same.
Create an input stream with a user-defined actor.
Create an input stream with a user-defined actor. See ActorReceiver for more details.
The StreamingContext instance
Props object defining creation of the actor
Name of the actor
RDD storage level (default: StorageLevel.MEMORY_AND_DISK_SER_2)
A function to create ActorSystem in executors. ActorSystem
will
be shut down when the receiver is stopping (default:
ActorReceiver.defaultActorSystemCreator)
the supervisor strategy (default: ActorReceiver.defaultStrategy)
An important point to note: Since Actor may exist outside the spark framework, It is thus user's responsibility to ensure the type safety, i.e. parametrized type of data received and createStream should be same.