Vespa Connection¶
The Vespa connection type enables access to Vespa clusters.
Default Connection IDs¶
The Vespa hook uses the vespa_default connection ID by default.
Configuring the Connection¶
- Endpoint
Hostname or full URL of the Vespa endpoint. If a scheme is already included, it takes precedence over the
protocolextra field.- Document Type
Set in the standard Airflow
schemafield. This becomes the Vespa document type used by the hook and operator.Note
The example DAG assumes the Vespa document type has a
bodyfield because the verification task queries on it.- Port (optional)
Optional port appended to the endpoint when it is not already present in the host value.
- Namespace (optional)
Vespa document namespace. Defaults to
default.- Protocol (optional)
Protocol used when the host does not already include one. Supported values are
httpandhttps. Defaults tohttp.- Vespa Cloud Secret Token (optional)
Token-based authentication for Vespa Cloud.
- Client Certificate Path (optional)
File path to the client certificate used for mTLS authentication.
- Client Key Path (optional)
File path to the client key used for mTLS authentication.
- Max Feed Queue Size (optional)
Passed through to
feed_async_iterableto control the Vespa feed queue size.- Max Feed Workers (optional)
Passed through to
feed_async_iterableto control the number of feed workers.- Max Feed Connections (optional)
Passed through to
feed_async_iterableto control the maximum number of concurrent feed connections.