KdrantConfigBuilder

Mutable builder backing the Kdrant(host, port) { ... } configuration DSL.

Properties

Link copied to clipboard

API key sent as the api-key header. null disables auth.

Link copied to clipboard

Qdrant JWT sent as Authorization: Bearer, for access narrower than the master key: read-only, a named collection, or a payload filter scoping which points are visible. Mutually exclusive with apiKey.

Link copied to clipboard

Timeout for establishing a connection; null uses the engine default.

Link copied to clipboard
var dispatcher: CoroutineDispatcher

Dispatcher used for client work. Injectable for tests; defaults to ioDispatcher.

Link copied to clipboard

How many times to retry a retryable failure (HTTP 429/502/503/504, transient I/O). 0 disables.

Link copied to clipboard

Per-request timeout (applies to each attempt).

Link copied to clipboard

Base delay before the first retry; subsequent retries back off exponentially up to retryMaxDelay.

Link copied to clipboard

Upper bound on a single retry delay.

Link copied to clipboard

Max idle time between two data packets on an open connection; null uses the engine default.

Link copied to clipboard

Which certificates TLS will accept: the platform's store by default, a PEM bundle for a private CA or a self-signed node, or a set of pinned public keys. See TrustAnchors for what each platform can honour, and which store each one reads.

Link copied to clipboard

Use HTTPS instead of HTTP. Required when sending a credential, unless the host is a loopback address, where nothing leaves the machine.