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

team.supernova.graphite.reader.event.GraphiteEventReaderApp.scala Maven / Gradle / Ivy

The newest version!
package team.supernova.graphite.reader.event

import akka.actor.ActorSystem
import akka.stream.scaladsl.Sink
import akka.stream.{ActorMaterializer, ActorMaterializerSettings}
import team.supernova.graphite.reader.event.stream.graph.GraphiteEventReaderGraph
import team.supernova.graphite.reader.stream.globalDecider

object GraphiteEventReaderApp extends App {

  implicit val actorSystem = ActorSystem("hubble-graphite-event-reader")
  implicit val materializer = ActorMaterializer(ActorMaterializerSettings(actorSystem).withSupervisionStrategy(globalDecider))

  val resultSink = Sink.ignore
  GraphiteEventReaderGraph(actorSystem).flow(resultSink).run()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy