Skip to content

Properties

a_git_a edited this page Feb 7, 2024 · 4 revisions

Data Job Properties

Data jobs support properties stored in Control Service API by default (plugins can extend this). Job properties serve to:

  • store credentials securely
  • store Data Job state
  • store job deployment configuration

The IProperties interface in JobInput is used to manipulate the properties.

To be able to use Data Jobs properties, You can then manipulate the properties using a code like this one:

def run(job_input: IJobInput):
    properties = job_input.get_all_properties()
    properties["db_pass"] = "the password goes here"
    job_input.set_all_properties(properties)

or using CLI

vdk properties --help

➡️ Next Section: Configuration

Clone this wiki locally