LaserData Cloud
Deployments

Configuration

Save, activate, and restore versions of deployment configuration

Configuration controls the Iggy server and active connectors in a deployment. Each saved change creates a version. You can activate a version or return to a compatible earlier version.

The platform encrypts configuration data at rest. Each saved configuration records the runtime release used to validate it in runtime_version. After an upgrade, use this field to identify configurations that need review before reuse.

Configuration Kinds

KindWhat It Configures
IggyServer limits, transport settings, runtime maintenance, and telemetry
ConnectorsGlobal connectors runtime settings
Individual connectorPer-connector instance settings - stream/topic mappings, plugin configuration, batch settings

How It Works

A deployment starts with configuration for its runtime and topology, the arrangement of its nodes. To change it:

  1. Save new values under the existing configuration kind name. For a connector instance, use its instance key as the name.
  2. Activate the version that you want to use.
  3. Create a reconfigure task, as described in Apply Configuration Changes.
  4. Wait for Warden to retrieve the task and apply the active version.
  5. If the change fails, activate a compatible earlier version and reconfigure the deployment.

Topic retention, segment size, and durability belong to topic configuration. See Server & Durability for their relationship to server configuration. Warden, plane, and shared connector-runtime configuration require administrative access.

Configuration Schemas

A schema defines the available fields, types, defaults, and rules. Retrieve the schema before you create a configuration. It shows which values you can change.

From the Console

  1. Open your deployment's Configuration tab.
  2. Select Iggy, Connectors, or a connector instance.
  3. Read the form's current values, defaults, and descriptions.
  4. Change the values that you need.
  5. Click Save to create a version.
  6. Click Activate to select that version for the deployment.

Managing Configurations

The Configuration tab provides these actions:

  • Read named configurations and their version history.
  • Find the primary configuration, the active version.
  • Compare two versions side by side.
  • Activate a saved version.
  • Delete configurations that you no longer need.

Use deployment:config:manage to create, activate, or delete configuration. Use deployment:config:read to read it.

API Reference

Get Configuration Schema

This endpoint returns the fields, types, and defaults for a configuration kind. It groups entries into sections with names and descriptions.

curl {supervisor_url}/deployments/{deployment_id}/configs/iggy/schema \
  -H "ld-api-key: YOUR_API_KEY"

An entry from the TCP section looks like this:

{
  "tcp": {
    "name": "TCP",
    "description": "TCP listener configuration.",
    "schema": [
      {
        "key": "IGGY_TCP_ENABLED",
        "name": "TCP server enabled",
        "description": "Determines if the TCP server is active.",
        "default_value": true,
        "kind": "bool",
        "editable": true,
        "secret": false,
        "requirements": [],
        "rules": []
      }
    ]
  }
}

Section keys use snake_case. Examples include tcp, http, quic, websocket, partition, sharding, metadata, encryption, and data_maintenance.

FieldDescription
keyConfiguration key (e.g. IGGY_TCP_ENABLED)
nameHuman-readable name
descriptionWhat the setting controls
default_valueDefault value
kindField type - string, bool, int, float, size, duration, path, url, etc.
editableWhether the value can be changed
secretWhether the value is masked in responses
requirementsDependencies on other config values
rulesValidation rules (min, max, etc.)

Connector schemas also include sink, source, and plugin_config sections. Configuration responses include runtime_version, a SemVer release number. After an Iggy, Warden, or Connectors upgrade, compare it with the installed release before you reuse the configuration.

Create a Configuration

curl -X POST {supervisor_url}/deployments/{deployment_id}/configs/iggy \
  -H "ld-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "iggy",
    "values": {
      "IGGY_DATA_MAINTENANCE_MESSAGES_INTERVAL": "1m"
    },
    "activate": false
  }'

A successful request returns 201 Created. The ld-config header contains the new configuration ID. Set "activate": true to activate it at creation.

Get Active Configuration

curl {supervisor_url}/deployments/{deployment_id}/configs/iggy/primary \
  -H "ld-api-key: YOUR_API_KEY"

List All Configurations

curl {supervisor_url}/deployments/{deployment_id}/configs/iggy \
  -H "ld-api-key: YOUR_API_KEY"

Get a Specific Configuration

curl {supervisor_url}/deployments/{deployment_id}/configs/iggy/{config_id} \
  -H "ld-api-key: YOUR_API_KEY"

Get Version History

curl {supervisor_url}/deployments/{deployment_id}/configs/iggy/{config_name}/versions \
  -H "ld-api-key: YOUR_API_KEY"

Get a Specific Version

curl {supervisor_url}/deployments/{deployment_id}/configs/iggy/{config_name}/versions/{version} \
  -H "ld-api-key: YOUR_API_KEY"

Activate a Version

curl -X PUT {supervisor_url}/deployments/{deployment_id}/configs/iggy/{config_name}/activate/{version} \
  -H "ld-api-key: YOUR_API_KEY"

A successful request returns 204 No Content.

Delete a Configuration

curl -X DELETE {supervisor_url}/deployments/{deployment_id}/configs/iggy/{config_id} \
  -H "ld-api-key: YOUR_API_KEY"

A successful request returns 204 No Content.

Apply Configuration Changes

After you activate a version, create a reconfigure task for the deployment:

curl -X POST {supervisor_url}/deployments/{deployment_id}/tasks \
  -H "ld-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "iggy:reconfigure"
  }'

Warden on each node retrieves the task and applies the active configuration. For connectors, use connectors:reconfigure. These tasks require deployment:task:manage.

List Tasks

curl {supervisor_url}/deployments/{deployment_id}/tasks \
  -H "ld-api-key: YOUR_API_KEY"

The response includes task types and statuses for the deployment. Use it to follow reconfiguration, upgrades, and other operations.

On this page