Programing/Akka

Akka Management

BUST 2018. 8. 21. 23:00

Akka Management

Features

  • Akka Cluster Bootstrap
  • Service Discovery
  • Cluster Http Management
  • Built-in JMX Management

Start/Stop

AkkaManagement httpClusterManagement = AkkaManagement.create(system);
httpClusterManagement.start();
//...
httpClusterManagement.stop();
  • module import에 따라 Features 기능이 start가 된다.
ex) Cluster Http Management를 실행하고자 한다면 gradle의 설정에 아래와 같이 추가하면 된다.
dependencies {
  compile group: "com.lightbend.akka.management", name: "akka-management-cluster-http_2.12", version: "0.17.0"
  compile group: "com.lightbend.akka.management", name: "akka-management_2.12", version: "0.17.0"
}


'Programing > Akka' 카테고리의 다른 글

Actor Selection을 통한 Actor 찾기 (Identifying Actors via Actor Selection)  (0) 2018.09.02
Akka Cluster Seed Node  (0) 2018.08.25
Akka Scheduler  (0) 2018.08.21
Akka Stream Asynchronous operators  (0) 2018.08.17
Cluster Aware Router  (0) 2018.08.16