* CoordinatedShutdown that can run tasks for configured phases in order (DAG) * coordinate handover/shutdown of singleton with cluster exiting/shutdown * phase config obj with depends-on list * integrate graceful leaving of sharding in coordinated shutdown * add timeout and recover * add some missing artery ports to tests * leave via CoordinatedShutdown.run * optionally exit-jvm in last phase * run via jvm shutdown hook * send ExitingConfirmed to leader before shutdown of Exiting to not have to wait for failure detector to mark it as unreachable before removing * the unreachable signal is still kept as a safe guard if message is lost or leader dies * PhaseClusterExiting vs MemberExited in ClusterSingletonManager * terminate ActorSystem when cluster shutdown (via Down) * add more predefined and custom phases * reference documentation * migration guide * problem when the leader order was sys2, sys1, sys3, then sys3 could not perform it's duties and move Leving sys1 to Exiting because it was observing sys1 as unreachable * exclude Leaving with exitingConfirmed from convergence condidtion |
||
|---|---|---|
| .. | ||
| akka-sample-camel-java | ||
| akka-sample-camel-scala | ||
| akka-sample-cluster-java | ||
| akka-sample-cluster-scala | ||
| akka-sample-distributed-data-java | ||
| akka-sample-distributed-data-scala | ||
| akka-sample-fsm-java-lambda | ||
| akka-sample-fsm-scala | ||
| akka-sample-main-java | ||
| akka-sample-main-java-lambda | ||
| akka-sample-main-scala | ||
| akka-sample-multi-node-scala | ||
| akka-sample-osgi-dining-hakkers | ||
| akka-sample-persistence-java | ||
| akka-sample-persistence-java-lambda | ||
| akka-sample-persistence-scala | ||
| akka-sample-remote-java | ||
| akka-sample-remote-scala | ||
| akka-sample-supervision-java-lambda | ||
| README.md | ||
Use Lightbend Activator to run samples
Use Lightbend Activator to run samples in this akka-samples directory. Follow the instruction on the Activator download page, and the Activator documentation. Once activator ui is up, you an find akka-sample-* projects by their names.