Configuration Reference

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Whether a health check is published in case the smallrye-health extension is present.

Environment variable: QUARKUS_QDRANT_HEALTH_ENABLED

boolean

true

Whether Dev Services for Qdrant are enabled or not.

Environment variable: QUARKUS_QDRANT_DEVSERVICES_ENABLED

boolean

true

Container image for Qdrant.

Environment variable: QUARKUS_QDRANT_DEVSERVICES_QDRANT_IMAGE_NAME

string

docker.io/qdrant/qdrant:v1.20-unprivileged

Optional fixed port the Qdrant dev service will listen to. If not defined, the port will be chosen randomly.

Environment variable: QUARKUS_QDRANT_DEVSERVICES_PORT

int

Indicates if the Dev Service containers managed by Quarkus for Qdrant are shared.

Environment variable: QUARKUS_QDRANT_DEVSERVICES_SHARED

boolean

true

Service label to apply to created Dev Services containers.

Environment variable: QUARKUS_QDRANT_DEVSERVICES_SERVICE_NAME

string

qdrant

The size of the vectors in this collection.

Environment variable: QUARKUS_QDRANT_DEVSERVICES_COLLECTIONS__COLLECTIONS__VECTOR_SIZE

int

384

The distance metric to use for this collection. Supported values: Cosine, Euclid, Dot, Manhattan.

Environment variable: QUARKUS_QDRANT_DEVSERVICES_COLLECTIONS__COLLECTIONS__DISTANCE

string

Cosine

quarkus.qdrant."qdrant-client-name".host

The hostname of the Qdrant server.

Environment variable: QUARKUS_QDRANT_HOST

string

localhost

quarkus.qdrant."qdrant-client-name".port

The REST port of the Qdrant server.

Environment variable: QUARKUS_QDRANT_PORT

int

6333

quarkus.qdrant."qdrant-client-name".connect-timeout

The timeout for establishing a connection to the Qdrant server.

Environment variable: QUARKUS_QDRANT_CONNECT_TIMEOUT

Duration 

5S

quarkus.qdrant."qdrant-client-name".read-timeout

The timeout for reading a response from the Qdrant server.

Environment variable: QUARKUS_QDRANT_READ_TIMEOUT

Duration 

10S

quarkus.qdrant."qdrant-client-name".api-key

The API key to authenticate with.

Environment variable: QUARKUS_QDRANT_API_KEY

string

quarkus.qdrant."qdrant-client-name".use-tls

Whether to use TLS (HTTPS).

Environment variable: QUARKUS_QDRANT_USE_TLS

boolean

false

quarkus.qdrant."qdrant-client-name".tls-configuration-name

The name of the TLS configuration to use.

If a name is configured, it uses the configuration from quarkus.tls.<name>.*. If not set and TLS is enabled, the default TLS configuration is used.

Environment variable: QUARKUS_QDRANT_TLS_CONFIGURATION_NAME

string

About the Duration format

To write duration values, use the standard java.time.Duration format. See the Duration#parse() Java API documentation for more information.

You can also use a simplified format, starting with a number:

  • If the value is only a number, it represents time in seconds.

  • If the value is a number followed by ms, it represents time in milliseconds.

In other cases, the simplified format is translated to the java.time.Duration format for parsing:

  • If the value is a number followed by h, m, or s, it is prefixed with PT.

  • If the value is a number followed by d, it is prefixed with P.