Pekko Persistence Cassandra Health check
Type to start searching
    apache/pekko-persistence-cassandra
    apache/pekko-persistence-cassandra
    • Overview
      • Project Info
      • Dependencies
      • Snapshots
      • History
      • Contributing
    • Journal
      • Features
      • Schema
      • Configuration
      • Delete all events
    • Query Plugin
      • Configuration
    • Events by tag
      • First time bucket
      • Consistency
      • Back tracking
      • Tuning for lower latency
      • Missing searches and gap detection
      • Events by tag reconciliation
      • Other tuning
      • Cleanup of tag_views table
      • How it works
    • Snapshots
      • Features
      • Schema
      • Configuration
      • Limitations
      • Delete all snapshots
    • Serialization
    • Testing
    • Event sourcing and CQRS
    • Health check
    • Configuration
      • Default configuration
      • Cassandra driver configuration
      • Contact points configuration
    • Cassandra server support
      • More details
      • Amazon Keyspaces
      • CosmosDB
      • DataStax Astra
      • ScyllaDB
    • Release Notes
      • Release Notes (1.1.x)
      • Release Notes (1.0.x)
    • Migration
      • Keyspaces
      • Configuration
    • Database Cleanup
    • link Apache Software Foundation
    • link License
    • link Security
    • link Privacy
    • link Events
    • link Donate
    • link Thanks

    Health check

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

    pekko.management {
      health-checks {
        readiness-checks {
          pekko-persistence-cassandra = "org.apache.pekko.persistence.cassandra.healthcheck.CassandraHealthCheck"
        }
      }
    }
    

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

    pekko.persistence.cassandra.healthcheck {
      health-check-cql = "SELECT now() FROM system.local"
    }
    
    Edit this page
    1.1.0
    Previous Event sourcing and CQRS
    Next Configuration
    Copyright © 2011-2022 Lightbend, Inc. Apache Pekko, Pekko, and its feather logo are trademarks of The Apache Software Foundation.