Configuration
The Scheduler API manages the OLAP schedules and to triggers both OLAP and Distribution scheduled jobs. Use the configuration options in the appsettings.json file, typically located at:
C:\Program Files\Nectari\Nectari Server\Scheduler\appsettings.jsonC:\Program Files\SEI\SEI Server\Scheduler\appsettings.json
The table below describes available settings, their purpose, whether they support hot reload, and possible values.
Central Points
| Setting | Description | Hot Reload | Values |
|---|---|---|---|
AllowedHosts | Limits incoming requests to semicolon-delimited lists of host names. Use * for all hosts. | ||
CentralPoints.Provider | Defines the source for Central Point definitions. | Remote Local | |
CentralPoints.ApiHostName | Specifies the Web Server host name when CentralPoints.Provider is set to Remote. Must match the server host name. | ✔ | |
CentralPoints.RemoteFetchInterval | Sets how often to synchronize Central Points with the Central Point Configurator when CentralPoints.Provider is set to Remote. | ✔ | > 0 |
CentralPoints.LocalList[] | Specifies local central points when CentralPoints.Provider is set to Local. | ✔ | |
CentralPoints.LocalList[].Name | Specifies the display name for the local central point (informational purposes only). | ✔ | |
CentralPoints.LocalList[].Path | Specifies the local or UNC path for the central point. | ✔ | |
CentralPoints.LocalList[].WebAppUrl | Specifies the Web Server URL for distribution. | ✔ | |
CentralPoints.LocalList[].IsSageMode | Indicates if the Web Server instance uses Sage branding. | ✔ | true false |
Distribution Scheduler
| Setting | Description | Hot Reload | Values |
|---|---|---|---|
DistributionScheduler.MisfireThreshold | Sets the grace period (milliseconds) during which a missed trigger can still be executed. | ✔ | > 0 |
DistributionScheduler.IterationsInterval | Sets the interval (seconds) between scheduler iterations. | ✔ | > 0 |
DistributionScheduler.MaxParallelization | Sets the maximum number of parallel tasks the scheduler can process. | ✔ | > 0 |
External APIs
| Setting | Description | Hot Reload | Values |
|---|---|---|---|
ExternalApis.*.BaseUrl | Specifies the base URL for connecting to the external API. | ✔ | |
ExternalApis.*.ApiKey | Specifies the API key for authenticating with the external API. | ✔ | |
ExternalApis.*.MedianFirstRetryDelay | Temporarily deactivated | ||
ExternalApis.*.RetryCount | Temporarily deactivated | ||
ExternalApis.*.CircuitBreakerDelay | Temporarily deactivated | ||
ExternalApis.*.TimeoutDelay | Specifies the maximum request duration before aborting. | ✔ | > 0 |
OLAP Scheduler
| Setting | Description | Hot Reload | Values |
|---|---|---|---|
Quartz."quartz.jobStore.misfireThreshold" | Sets the OLAP grace period (in milliseconds) during which a missed trigger can still be executed. | > 0 |
Module Scheduling
| Setting | Description | Hot Reload | Values |
|---|---|---|---|
Schedules.*.Enabled | Indicates whether the corresponding module is enabled. | true false | |
Schedules.*.Scheduler | Specifies which scheduler to use for the module. | Quartz Distribution | |
Schedules.*.NectariApiDefinition | Specifies the Worker API definition associated with this module. | NectariOlapWorker NectariDistributionWorker | |
Schedules.*.ManagerIterationsInterval | Sets the interval (in seconds) between initializer iterations. | ✔ | > 0 |
Schedules.*.ManagerMaxInactiveIterationBeforeSleep | Sets the maximum number of inactive initializer iterations before entering sleep mode. | ✔ | > 0 |
Schedules.*.ManagerMaxParallelization | Sets the maximum number of parallel tasks processed by the initializer. | ✔ | > 0 |
Logging (Serilog)
| Setting | Description | Hot Reload | Values |
|---|---|---|---|
Serilog.MinimumLevel.Default | Specifies default logging level for the application. | ✔ | Verbose* Debug Information Warning Error |
Serilog.MinimumLevel.Override.* | Specifies logging level overrides by namespace. | ✔ | Verbose* Debug Information Warning Error |
Serilog.WriteTo | Specifies Serilog sinks; defines where the logs are written. | ||
Serilog.Enrich | Specifies Serilog enrichers; adds additional properties to the log context. | ||
Serilog.Properties | Specifies Serilog properties; adds static fields to the log context. |
*No hot reload