Config Manager
Constructor/Initialization
Start Config Consolidation Thread
no
options.DisableRealtimeUpdates
yes
Config Polling Thread
Polling Enabled
yes
no
Fetch Config
Success
yes
no
Update Config
Send Config Updated Event to EventHandler
Retry Fetch
no
Retryable Error
yes
Return error to EventHandler
Cancel Polling
Polling Interval
Polling Enabled
yes
Config Consolidation Thread
Event Type
New Config Available
Fetch Config with minimum Last-Modified timestamp
Config Updated
Disable SSE
Update SSE URL
Start SSE Connection
yes
SSE URL is different than existing?
no
SSE Connection Error
Disable SSE
Start Polling Thread
SSE Connection Success
Disable Polling
Event Received