StreamBase and Live Datamart (LDM) are configured by means of configuration files in HOCON format. HOCON is a superset of JSON designed specifically for system configuration with human readability.
StreamBase and LDM configuration files:
Must be in valid HOCON format.
Must have the
Must reside in the
src/main/configurationsfolder of the EventFlow or LiveView project folder in StreamBase Studio.
Can also reside in the project's
src/test/configuationsfolder to specify additional or alternate settings for running unit tests.
Create a new HOCON configuration file with HOCON Editor that helps you create valid configuration files.> > from StreamBase Studio's top menu. Studio provides a validating
StreamBase Studio provides ways to configure certain settings in the Run Configuration dialog for EventFlow and LiveView fragments, such as the API listening port for each fragment. Run Configuration settings apply to the next launch of a fragment in Studio. To have the same settings apply when running the fragment as part of a StreamBase Application at the command line, specify those settings in configuration files.
All settings for multiple node and HA configurations are made with configuration files.
There is a second configuration file format used by certain adapters. Configuration for these adapters is in XML format in
files named adapter-configurations.xml. Place such files in the
src/main/resources folder of your Studio project.