com.avast.sst.datastax.config.SchemaConfig
See theSchemaConfig companion object
final case class SchemaConfig(enabled: Boolean, refreshedKeyspaces: List[String], requestTimeout: Duration, requestPageSize: Int, debouncer: DebouncerConfig)
Options relating to schema metadata (Cluster.getMetadata.getKeyspaces). This metadata is exposed by the driver for informational purposes, and is also necessary for token-aware routing.
Value parameters
- debouncer
-
Protects against bursts of schema updates.
- enabled
-
Whether schema metadata is enabled. If this is false, the schema will remain empty, or to the last known value.
- refreshedKeyspaces
-
The list of keyspaces for which schema and token metadata should be maintained. If this property is absent or empty, all existing keyspaces are processed.
- requestPageSize
-
The page size for the requests to the schema tables.
- requestTimeout
-
The timeout for the requests to the schema tables.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article