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

ml.combust.mleap.serving.RunServer.scala Maven / Gradle / Ivy

The newest version!
package ml.combust.mleap.serving

import akka.actor.ActorSystem
import com.typesafe.config.Config

class RunServer(config: Config) {
  def run(): Unit = {
    implicit val system: ActorSystem = ActorSystem("MleapGrpc")

    new ml.combust.mleap.grpc.server.RunServer(config.getConfig("ml.combust.mleap.grpc.server")).run()
    new ml.combust.mleap.springboot.RunServer(Some(system)).run()
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy