Azure Cosmos DB (NoSQL)

Azure Cosmos DB is a fully managed NoSQL and vector database offering high availability, scalability, and low latency for modern app development.

Features

Feature nameSupported
Column HashingTrueColumn level
BlockingTrueColumn level
IncrementalTrue
Custom dataTrue
HistoryFalse
ReSyncTrueTable level
TemplatesFalse

πŸ”§ Setup Guide

Step 1 - Get credentials to setup the connection

From your Azure portal, access and paste the required fields:

  • Name (The name you want to refer to regarding this connection in the Weld app)
  • URI (The URI of your Azure Cosmos DB, found in the Azure portal)
  • Primary Key (The Primary Key of your Azure Cosmos DB, found in the Azure portal. Go to your Azure Cosmos DB account, select "Settings", then "Keys" to find the Primary Key)

Step 2 - Configure the data sync

  1. Select the database you would like to sync
    Weld automatically detects the available databases in your Azure Cosmos DB database. Choose the one you would like to sync data from.

  2. Select sync mode

    Unpacked Mode
    Weld unpacks one layer of nested fields and infers the data types. Unpacked mode will return your table in the following format:

    {
      "id": 1,
      "type": 2,
      "nested": {
        "name": 3
      }
    }
    

    is delivered to your destination as

    idtypenested_ts
    12{"name":3}2023-10-01 12:00:00

    Packed Mode
    Selecting packed mode will return your table in the following format:

    {
      "id": 1,
      "type": 2,
      "nested": {
        "name": 3
      }
    }
    

    is delivered to your destination as

    iddata_ts
    1{"id":1, "type":2, nested":{"name":3}}2023-10-01 12:00:00

Step 3 - Data To Sync

  1. Select the tables you wish to include in the sync.
    You can view the schema, remove columns or hash sensitive information.

Step 4 - Configure Sync

  1. Select how often you would like the data to sync.
  2. Provide a unique destination table name.

Weld will take over from here and commence syncing data from your Azure Cosmos DB database.

Was this page helpful?