Skip to content

Editor integration

KPOps provides JSON schemas that enable autocompletion and validation for some of the files that the user must work with.

Supported files

Usage

  1. Install the yaml-language-server in your editor of choice. (requires LSP support)
  2. Configure the extension with the settings below.
settings.json
1
2
3
4
5
6
{
    "yaml.schemas": {
        "https://bakdata.github.io/kpops/2.0/schema/config.json": "config.yaml",
        "https://bakdata.github.io/kpops/2.0/schema/pipeline.json": "pipeline.yaml"
    }
}

Advanced usage

It is possible to generate schemas with the kpops schema command. Useful when using custom components or when using a pre-release version of KPOps.