Big Data, Spark, Event Hub, Scala, Azure.
spark.readStream.format(“eventhubs”).options(customEventhubParameters).load() After the stream is instantiated, we can use the printSchema function to have stream schema displayed: incomingStream.printSchema To display the content of messages to the console, the following command is useful: