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:
Records with fields:
Config Key
: ConfigurationKeyV1
The key that maps to the requested dynamic configuration value in the dynamic configuration KV-store.
Triggers
Records with fields:
Config Key
: ConfigurationKeyV1
The key that maps to the requested dynamic configuration value in the dynamic configuration KV-store.
Config Value
: ConfigurationValueV1
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