Health check

A health check for Akka Management is provided. To enable it you need to add the following configuration

akka.management {
  health-checks {
    readiness-checks {
      akka-persistence-cassandra = "akka.persistence.cassandra.healthcheck.CassandraHealthCheck"
    }
  }
}

By default it will try to query the system.local table. The query can be configured with:

akka.persistence.cassandra.healthcheck {
  health-check-cql = "SELECT now() FROM system.local"
}
Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.