Skip to content

Dynamic Configuration Engine

Purpose

The Dynamic Configuration Engine stores dynamic configurations of the engines and notifies them about configuration changes. Unlike the Static Configuration Engine, the Dynamic Configuration Engine allows engines to modify the configuration at runtime.

State

Messages Received

GetDynamicConfigRequest

Find a dynamic configuration by its key in the dynamic configuration KV-store and return the value.

Reception:

GetDynamicConfigRequestV1

Records with fields:

The key that maps to the requested dynamic configuration value in the dynamic configuration KV-store.

Triggers

GetDynamicConfigResponseV1

Records with fields:

The key that maps to the requested dynamic configuration value in the dynamic configuration KV-store.

The requested dynamic configuration value.

Message Flow


sequenceDiagram

Any Local Engine ->>+ Dynamic Config Engine: GetDynamicConfigRequest
Dynamic Config Engine -->>- Any Local Engine: GetDynamicConfigResponse
Any Local Engine ->>+ Dynamic Config Engine: SetDynamicConfigRequest
Dynamic Config Engine -->>- Any Local Engine: SetDynamicConfigResponse
Any Local Engine ->>+ Dynamic Config Engine: DeleteDynamicConfigRequest
Dynamic Config Engine -->>- Any Local Engine: DeleteDynamicConfigResponse
Any Local Engine ->>+ Dynamic Config Engine: SubscribeDynamicConfigRequest
Dynamic Config Engine -->>- Any Local Engine: SubscribeDynamicConfigResponse