Skip to content

cfmcgrady/spark-rest-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

Spark Rest Source

A Rest Api Structured Streaming DataSource

Example

spark.readStream
  .format("rest")
  .option("url", URL)
  .load
  .writeStream
  .format("console")
  .trigger(Trigger.ProcessingTime("10 seconds"))
  .start()
  .awaitTermination()

Here is a full example.

About

A Rest Api Structured Streaming DataSource

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages