Configuration Reference
All Analytics Service configuration is provided via environment variables with the
KS_AS_prefix. For Docker, set these in the environment of the container. For Platform Manager, set these in$KS_HOME/conf/analytics-service.properties.
The supplied package for this component contains
conf/common.properties.templatewhich lists all applicable configuration for this component along with their default values.
| Property | Default | Description |
|---|---|---|
KS_AS_CURRENCY | USD | Currency this AS instance will service |
KS_AS_INSTRUMENT_TOPIC_GROUPS | [] (all) | Instrument topic groups to subscribe to from Static Data Server |
KS_STATIC_DATA_SERVER_TOPIC_SOURCE | static-data-server | Topic source of the Static Data Server instance |
KS_CURVE_ENGINE_TOPIC_SOURCE | curve-engine | Topic source of the Curve Engine instance |
KS_AS_CURRENCY
The currency this Analytics Service instance will service. AS can only value bonds in a single currency per instance, due to the per-currency nature of the QuantLib valuation date.
Default: USD
KS_AS_CURRENCY=USD
To support multiple currencies, deploy one Analytics Service instance per currency and configure each Price Engine instance to point at the correct AS via KS_ANALYTICS_SERVICE_TOPIC_SOURCE.
KS_AS_INSTRUMENT_TOPIC_GROUPS
Comma-separated list of topic groups to subscribe to from Static Data Server. Leave empty to subscribe to all instrument groups.
Default: (empty — all groups)
# Subscribe to all instruments
KS_AS_INSTRUMENT_TOPIC_GROUPS=
# Subscribe to USD bonds only
KS_AS_INSTRUMENT_TOPIC_GROUPS=BUSD
Instrument topicGroup follows the SDS convention — see Topic Structure for the full list of group prefixes.
Restricting the subscription reduces memory and startup time if AS only needs to service a subset of the instrument universe.
KS_STATIC_DATA_SERVER_TOPIC_SOURCE
The topicSource of the Static Data Server instance AS subscribes to for instruments, business dates, indices, and fixings.
Default: static-data-server
KS_STATIC_DATA_SERVER_TOPIC_SOURCE=static-data-server
KS_CURVE_ENGINE_TOPIC_SOURCE
The topicSource of the Curve Engine instance AS subscribes to for yield curves (used for floating rate bond pricing).
Default: curve-engine
KS_CURVE_ENGINE_TOPIC_SOURCE=curve-engine