Create an input stream that receives messages pushed by a MQTT publisher.
Create an input stream that receives messages pushed by a MQTT publisher.
JavaStreamingContext object
Url of remote MQTT publisher
Topic name to subscribe to
ClientId to use for the mqtt connection
Username for authentication to the mqtt publisher
Password for authentication to the mqtt publisher
Sets the mqtt cleanSession parameter
Create an input stream that receives messages pushed by a MQTT publisher.
Create an input stream that receives messages pushed by a MQTT publisher.
JavaStreamingContext object
Url of remote MQTT publisher
Topic name to subscribe to
ClientId to use for the mqtt connection
Username for authentication to the mqtt publisher
Password for authentication to the mqtt publisher
Sets the mqtt cleanSession parameter
Quality of service to use for the topic subscription
Connection timeout for the mqtt connection
Keepalive interal for the mqtt connection
Version to use for the mqtt connection
Create an input stream that receives messages pushed by a MQTT publisher.
Create an input stream that receives messages pushed by a MQTT publisher.
JavaStreamingContext object
Url of remote MQTT publisher
Topic name to subscribe to
RDD storage level.
ClientId to use for the mqtt connection
Username for authentication to the mqtt publisher
Password for authentication to the mqtt publisher
Sets the mqtt cleanSession parameter
Quality of service to use for the topic subscription
Connection timeout for the mqtt connection
Keepalive interal for the mqtt connection
Version to use for the mqtt connection
Create an input stream that receives messages pushed by a MQTT publisher.
Create an input stream that receives messages pushed by a MQTT publisher.
JavaStreamingContext object
Url of remote MQTT publisher
Topic name to subscribe to
RDD storage level.
Create an input stream that receives messages pushed by a MQTT publisher.
Create an input stream that receives messages pushed by a MQTT publisher. Storage level of the data will be the default StorageLevel.MEMORY_AND_DISK_SER_2.
JavaStreamingContext object
Url of remote MQTT publisher
Topic name to subscribe to
Create an input stream that receives messages pushed by a MQTT publisher.
Create an input stream that receives messages pushed by a MQTT publisher.
StreamingContext object
Url of remote MQTT publisher
Topic name to subscribe to
RDD storage level. Defaults to StorageLevel.MEMORY_AND_DISK_SER_2.
ClientId to use for the mqtt connection
Username for authentication to the mqtt publisher
Password for authentication to the mqtt publisher
Sets the mqtt cleanSession parameter
Quality of service to use for the topic subscription
Connection timeout for the mqtt connection
Keepalive interal for the mqtt connection
Version to use for the mqtt connection
Create an input stream that receives messages pushed by a MQTT publisher.
Create an input stream that receives messages pushed by a MQTT publisher.
StreamingContext object
Url of remote MQTT publisher
Topic name to subscribe to
RDD storage level. Defaults to StorageLevel.MEMORY_AND_DISK_SER_2.