-
Notifications
You must be signed in to change notification settings - Fork 49
Configuring Sirius
====
Sirius requires a SiriusConfiguration instance and a cluster configuration file for configuration. For details on how these configurations are used in a Sirius application, see Getting started with Sirius. Configuration is discussed below.
####Common SiriusConfiguration Options For a full list of configuration options, see the SiriusConfiguration source code. The most common [SiriusConfiguration] (http://comcast.github.io/sirius/api/latest/com/comcast/xfinity/sirius/api/SiriusConfiguration.html) options are listed below.
-
sirius.akka.host (
SiriusConfiguration.HOST()
) - specifies the akka host name that the application listens to for messages. The host name must match the host name specified in the cluster config. -
sirius.akka.port (
SiriusConfiguration.PORT()
) - specifies the akka port that that the application listens to for messages. -
sirius.uberstore.dir (
SiriusConfiguration.LOG_LOCATION()
) - specifies the directory to store the transaction logs -
sirius.membership.config-path (
SiriusConfiguration.CLUSTER_CONFIG()
) - specifies the path to the cluster config file
####Cluster Configuration The cluster configuration file lists all actors in a cluster. Here is an example configuration file:
akka.tcp://sirius-system@foo.com:2552/user/sirius
akka.tcp://sirius-system@bar.com:2552/user/sirius
akka.tcp://sirius-system@baz.com:2552/user/sirius
As discussed above, if a node is participating in the cluster, the host property sirius.akka.host
in
SiriusConfiguration must be
the same as what is listed in the cluster configuration file. One can't use the ip in one place while using the host in
another.
Copyright 2013-2017 Comcast Cable Communications Management, LLC
Using Sirius
Getting started with Sirius
Configuring Sirius
How to Deploy Sirius
Reference Applications
Migrations and Release Notes
Migration Guide 1.1.x to 1.2.x
Release Notes 2.0.0
Migration Guide 1.2.x to 2.0.x
Developing Sirius
Getting Started
Contributing Guildelines
License
Releasing Sirius
Scaladocs
Test Timeout Failures
Transaction Log
Implementation
Live Compaction
waltool
Other