Package-level declarations

Types

Link copied to clipboard

Authentication configuration.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Configuration for the Kandra Ktor plugin.

Link copied to clipboard

Load balancing policy for multi-datacenter deployments. dcAwareFailover, allowedRemoteDcs, and FailoverConfig.onLocalDcUnavailable are wired into the DataStax driver's own DefaultLoadBalancingPolicy (GH #58) -- setting dcAwareFailover = true together with failover { onLocalDcUnavailable = FailoverPolicy.RETRY_REMOTE_DC } genuinely enables the driver's cross-DC failover mechanism, restricted to the datacenters listed in allowedRemoteDcs. Setting only one of the two leaves failover inert, by design (see FailoverPolicy).

Link copied to clipboard

Metrics configuration.

Link copied to clipboard
Link copied to clipboard
sealed class ReplicationStrategy
Link copied to clipboard
Link copied to clipboard

Graceful shutdown drain configuration.

Link copied to clipboard

Speculative execution reduces tail latency by firing a second request if the first is slow.

Link copied to clipboard
class SslConfig

SSL/TLS configuration for encrypted connections to ScyllaDB.

Link copied to clipboard

Concurrency-limiting request admission control (GH #81 / ISS-073). Wires the DataStax driver's own ConcurrencyLimitingRequestThrottler -- caps how many requests the driver will have in-flight against the cluster at once, queuing additional requests up to maxQueueSize instead of dispatching everything unbounded, and rejecting anything beyond that queue immediately with RequestThrottlingException.

Properties

Link copied to clipboard
val Kandra: ApplicationPlugin<KandraConfig>

Ktor plugin that wires ScyllaDB/Cassandra via the DataStax Java driver.

Link copied to clipboard
val Application.kandra: KandraRuntime
Link copied to clipboard
val Application.kandraCodec: KandraCodec
Link copied to clipboard
val KandraCodecKey: AttributeKey<KandraCodec>
Link copied to clipboard
Link copied to clipboard
val KandraRuntimeKey: AttributeKey<KandraRuntime>
Link copied to clipboard
val Application.kandraSession: CqlSession
Link copied to clipboard
val KandraSessionKey: AttributeKey<CqlSession>