Counts words in UTF8 encoded, '\n' delimited text received from MQTT Server.
Usage: MQTTStreamWordCount <brokerUrl> <topic>
<brokerUrl> and <topic> describe the MQTT server that Structured Streaming
would connect to receive data.
To run this on your local machine, a MQTT Server should be up and running.
Counts words in UTF8 encoded, '\n' delimited text received from MQTT Server.
Usage: MQTTStreamWordCount <brokerUrl> <topic> <brokerUrl> and <topic> describe the MQTT server that Structured Streaming would connect to receive data.
To run this on your local machine, a MQTT Server should be up and running.