Structured Streaming with Flume
<p>Hi can anyone tell me how to read a flume stream using spark new API for structured streaming.</p>

<p><strong>Example:</strong></p>

<p><code>val lines = spark.readStream.format("socket").option("host", "localhost").option("port", 9999).load()</code></p>