title: How to Streaming from socket-based server to JavaSparkContext
body: <blockquote>
  <p>Java Server code is available. I want to read the data from the  Java Server code and stream that data to the Client using JavaSparkContext.</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/f0fLM.png" rel="nofollow noreferrer">Java Server code Part1</a></p>
  <p><a href="https://i.stack.imgur.com/q3ETo.png" rel="nofollow noreferrer">Java Server code Part2</a></p>