I don't see a store() call in your receive().
Search for store() in here
http://spark.apache.org/docs/latest/streaming-custom-receivers.html
On Wed, Nov 2, 2016 at 10:23 AM, Cassa L wrote:
> Hi,
> I am using spark 1.6. I wrote a custom receiver to read from WebSocket.
> But
Hi,
I am using spark 1.6. I wrote a custom receiver to read from WebSocket. But
when I start my spark job, it connects to the WebSocket but doesn't get
any message. Same code, if I write as separate scala class, it works and
prints messages from WebSocket. Is anything missing in my Spark Code?