You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support hot-reloading of Ditto HOCON configuration via Kubernetes ConfigMap file watching
Adds a DynamicConfigWatcherActor that polls a ConfigMap-mounted file for changes,
merges dynamic config with the static config, and notifies consumers via two patterns:
- EventStream-based DynamicConfigChanged events for singleton/low-count actors
- DynamicConfigPoller utility for high-volume sharded actors (version-polling pattern)
Config values that can now be changed without pod restart include namespace-scoped
activity checks, custom metrics, entity creation restrictions, gateway authentication
(OAuth issuers, DevOps auth, pre-authentication), streaming config, background sync,
persistence cleanup, and WoT ThingModel validation.
Includes Helm chart changes to support a separate dynamic ConfigMap (without checksum
annotation, so updates don't trigger pod restarts) and version-keyed parsed config
caching in DynamicConfigWatcherExtension to minimize memory overhead across 500K+
sharded actor instances.
Closes: #2366
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments