Hi all,
i have been trying to setup a stream using a custom receiver that
would pick up data from twitter using follow function to listen just to some
users . I'd like to keep that stream
context running and dynamically change the custom receiver by adding ids of
users that I'd listen to .

                String[] filterm = {};
                long[] filteru = {};
                TwitterReceiver receiver = new TwitterReceiver(
                                twitter.getAuthorization(), filterm,
filteru, StorageLevel
                                                .MEMORY_AND_DISK_2());
                JavaDStream<Status> tweets = ssc.receiverStream(receiver);
its working but i need to upgrade filteru by adding id of other users
without stopping stream .
thanks, 



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/dynamically-change-receiver-for-a-spark-stream-tp21899.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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

Reply via email to