All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hydrosphere.mist.lib.spark1.Publisher.scala Maven / Gradle / Ivy

There is a newer version: 0.13.3
Show newest version
package io.hydrosphere.mist.lib.spark1

trait Publisher extends ContextSupport {

  private var _publisher: GlobalPublisher = _

  def publisher: GlobalPublisher = _publisher

  override private[mist] def setup(conf: SetupConfiguration): Unit = {
    super.setup(conf)
    _publisher =
      GlobalPublisher.create(
        conf.publisherConnectionString,
        conf.publisherTopic,
        conf.context)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy