Skip to main content

KVdb [ARCHIVED]

This page contains the setup guide and reference information for the KVdb destination connector.

KVdb is a hosted key-value store with a REST API. This connector writes source records to a KVdb bucket.

note

KVdb is disabled in Airbyte's default Cloud and Self-Managed connector registries. These instructions apply to installations where the connector has been added separately; it might not appear in the destination picker.

Prerequisites​

  • A KVdb bucket that was created with a secret_key. KVdb doesn't let you add a secret key to a bucket after it's created, so set one when you create the bucket.
  • The bucket ID that KVdb returns when you create the bucket.

Setup guide​

  1. Create a bucket with a secret key and a valid email address. KVdb returns its bucket ID.
  2. Configure the KVdb destination's Bucket ID and Secret Key fields with those values.

When you test the connection, the connector writes a test key with a random UUID name to the bucket and then deletes it.

Supported sync modes​

Sync modeSupported?
Full Refresh - OverwriteYes
Full Refresh - AppendYes
Full Refresh - Overwrite + DedupedNo
Incremental Sync - AppendYes
Incremental Sync - Append + DedupedNo

In overwrite mode, the connector deletes every key that starts with <stream_name>__ab__ at the start of the sync, then writes the new records.

Output schema​

The connector writes each record as one key-value pair:

  • Key: <stream_name>__ab__<timestamp>, where <timestamp> is the time, in milliseconds since the Unix epoch, when the connector processed the record. The timestamp can include a fractional part, for example users__ab__1728738000123.456.
  • Value: the record's data as a JSON object.

The connector doesn't use the source's primary key. To read the records for a stream, list the bucket's keys with the <stream_name>__ab__ prefix.

The connector writes records in batches of up to 1,000 using the KVdb transaction API.

Limitations​

These limits come from KVdb. For current values, see the KVdb API documentation and pricing.

  • Key expiration: By default, KVdb deletes keys that aren't updated within one week. Disabling expiration or extending it beyond one week requires a paid KVdb plan.
  • Value size: Each value can be up to 16 KB. Records larger than this can't be stored.
  • Key length: Keys can be up to 128 bytes, including the __ab__<timestamp> suffix. Very long stream names can exceed this limit.
  • Rate limits: KVdb allows 1,000 requests per IP address per hour, with higher limits on paid plans. KVdb returns HTTP 429 when you exceed the limit. Each batch of up to 1,000 records is one request, and overwrite syncs make additional requests to list and delete existing keys.

Namespace support​

This destination does not support namespaces.

Reference​

No configuration specification is available for this connector.

Changelog​

Expand to review
VersionDatePull RequestSubject
0.1.122026-10-1288413Mark secret_key as airbyte_secret; fix the image entrypoint and move to Python 3.11 (base image 4.0.0)
0.1.112024-08-2244530Update test dependencies
0.1.102024-07-0941285Update dependencies
0.1.92024-07-0640796Update dependencies
0.1.82024-06-2540409Update dependencies
0.1.72024-06-2240016Update dependencies
0.1.62024-06-0639236[autopull] Upgrade base image to v1.2.2
0.1.52024-06-0338894Replace AirbyteLogger with logging.Logger
0.1.42024-03-05#35838Un-archive connector
0.1.32024-02-2035424bump connector version to publish, convert to base docker image and poetry
0.1.22024-02-1935422bump connector version to publish
0.1.12024-02-1635370bump connector version to publish
0.1.02021-07-194786Python Demo Destination: KVDB