Object

org.apache.spark.streaming.mqtt

MQTTUtils

Related Doc: package mqtt

Permalink

object MQTTUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MQTTUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createStream(jssc: JavaStreamingContext, brokerUrl: String, topic: String, clientId: String, username: String, password: String, cleanSession: Boolean): JavaReceiverInputDStream[String]

    Permalink

    Create an input stream that receives messages pushed by a MQTT publisher.

    Create an input stream that receives messages pushed by a MQTT publisher.

    jssc

    JavaStreamingContext object

    brokerUrl

    Url of remote MQTT publisher

    topic

    Topic name to subscribe to

    clientId

    ClientId to use for the mqtt connection

    username

    Username for authentication to the mqtt publisher

    password

    Password for authentication to the mqtt publisher

    cleanSession

    Sets the mqtt cleanSession parameter

  7. def createStream(jssc: JavaStreamingContext, brokerUrl: String, topic: String, clientId: String, username: String, password: String, cleanSession: Boolean, qos: Int, connectionTimeout: Int, keepAliveInterval: Int, mqttVersion: Int): JavaReceiverInputDStream[String]

    Permalink

    Create an input stream that receives messages pushed by a MQTT publisher.

    Create an input stream that receives messages pushed by a MQTT publisher.

    jssc

    JavaStreamingContext object

    brokerUrl

    Url of remote MQTT publisher

    topic

    Topic name to subscribe to

    clientId

    ClientId to use for the mqtt connection

    username

    Username for authentication to the mqtt publisher

    password

    Password for authentication to the mqtt publisher

    cleanSession

    Sets the mqtt cleanSession parameter

    qos

    Quality of service to use for the topic subscription

    connectionTimeout

    Connection timeout for the mqtt connection

    keepAliveInterval

    Keepalive interal for the mqtt connection

    mqttVersion

    Version to use for the mqtt connection

  8. def createStream(jssc: JavaStreamingContext, brokerUrl: String, topic: String, storageLevel: StorageLevel, clientId: String, username: String, password: String, cleanSession: Boolean, qos: Int, connectionTimeout: Int, keepAliveInterval: Int, mqttVersion: Int): JavaReceiverInputDStream[String]

    Permalink

    Create an input stream that receives messages pushed by a MQTT publisher.

    Create an input stream that receives messages pushed by a MQTT publisher.

    jssc

    JavaStreamingContext object

    brokerUrl

    Url of remote MQTT publisher

    topic

    Topic name to subscribe to

    storageLevel

    RDD storage level.

    clientId

    ClientId to use for the mqtt connection

    username

    Username for authentication to the mqtt publisher

    password

    Password for authentication to the mqtt publisher

    cleanSession

    Sets the mqtt cleanSession parameter

    qos

    Quality of service to use for the topic subscription

    connectionTimeout

    Connection timeout for the mqtt connection

    keepAliveInterval

    Keepalive interal for the mqtt connection

    mqttVersion

    Version to use for the mqtt connection

  9. def createStream(jssc: JavaStreamingContext, brokerUrl: String, topic: String, storageLevel: StorageLevel): JavaReceiverInputDStream[String]

    Permalink

    Create an input stream that receives messages pushed by a MQTT publisher.

    Create an input stream that receives messages pushed by a MQTT publisher.

    jssc

    JavaStreamingContext object

    brokerUrl

    Url of remote MQTT publisher

    topic

    Topic name to subscribe to

    storageLevel

    RDD storage level.

  10. def createStream(jssc: JavaStreamingContext, brokerUrl: String, topic: String): JavaReceiverInputDStream[String]

    Permalink

    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.

    jssc

    JavaStreamingContext object

    brokerUrl

    Url of remote MQTT publisher

    topic

    Topic name to subscribe to

  11. def createStream(ssc: StreamingContext, brokerUrl: String, topic: String, storageLevel: StorageLevel, clientId: Option[String], username: Option[String], password: Option[String], cleanSession: Option[Boolean], qos: Option[Int], connectionTimeout: Option[Int], keepAliveInterval: Option[Int], mqttVersion: Option[Int]): ReceiverInputDStream[String]

    Permalink

    Create an input stream that receives messages pushed by a MQTT publisher.

    Create an input stream that receives messages pushed by a MQTT publisher.

    ssc

    StreamingContext object

    brokerUrl

    Url of remote MQTT publisher

    topic

    Topic name to subscribe to

    storageLevel

    RDD storage level. Defaults to StorageLevel.MEMORY_AND_DISK_SER_2.

    clientId

    ClientId to use for the mqtt connection

    username

    Username for authentication to the mqtt publisher

    password

    Password for authentication to the mqtt publisher

    cleanSession

    Sets the mqtt cleanSession parameter

    qos

    Quality of service to use for the topic subscription

    connectionTimeout

    Connection timeout for the mqtt connection

    keepAliveInterval

    Keepalive interal for the mqtt connection

    mqttVersion

    Version to use for the mqtt connection

  12. def createStream(ssc: StreamingContext, brokerUrl: String, topic: String, storageLevel: StorageLevel = StorageLevel.MEMORY_AND_DISK_SER_2): ReceiverInputDStream[String]

    Permalink

    Create an input stream that receives messages pushed by a MQTT publisher.

    Create an input stream that receives messages pushed by a MQTT publisher.

    ssc

    StreamingContext object

    brokerUrl

    Url of remote MQTT publisher

    topic

    Topic name to subscribe to

    storageLevel

    RDD storage level. Defaults to StorageLevel.MEMORY_AND_DISK_SER_2.

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped