title: Apache Spark’s Structured Streaming with Google PubSub
body: <p>I'm using Spark Dstream to pull and process data from Google PubSub.</p>
  
  <p>I'm looking for a way to move to structured streaming but still using Pub/Sub.</p>
  
  <p>Also, I should mention that my messages are Snappy compressed in Pub/Sub.</p>
  
  <p>I found <a href="https://github.com/GoogleCloudPlatform/bigdata-interop/issues/84" rel="nofollow noreferrer">this</a> issue which claims that using Pub/Sub with structured streaming is not supported.</p>
  
  <p>Is someone has encountered this problem? Is it possible to implement custom Receiver to read the data from Pub/Sub</p>
  
  <p>Thanks</p>