Getting Started
Control bus
Get datomic-free
% unzip datomic-free-0.9.5394.zip % cd datomic-free-0.9.5394 % bin/transactor config/samples/free-transactor-template.propertiesGet the latest Control-bus
Run the contorl bus
% bin/control_busEnvironment settings
| Environment variable | Description | Default value |
|---|---|---|
| CONTROL_BUS_PORT | Port number | 45102 |
| DISCOVERY_PORT | Port number to listen agent request | 45100 |
| DISCOVERY_ADDRESS | Multicast IP to listen agent request | (OPTION) |
| NOTIFICATOR_URL | Notificator URL | http://localhost:2121 |
| ACCESS_CONTROL_ALLOW_ORIGIN | Console URL used by operators | http://localhost:3000 |
| CONTROLE_BUS_RESOURCE_PATH | Resource path | (OPTION) |
Console
Get the latest Console
Run the console
% bin/consoleEnvironment settings
| Environment variable | Description | Default value |
|---|---|---|
| CONSOLE_PORT | Port number | 3000 |
| CONTROL_BUS_URL | Control-bus URL | http://localhost:45102 |
Agent
Get the latest Agent
Run the agent
% bin/agentEnvironment settings
| Environment variable | Description | Default value |
|---|---|---|
| AGENT_PORT | Port number | 4510 |
| INSTANCE_NAME | Instance name Specify this if you want to fix it between each start-ups. |
(OPTION) |
| DISCOVERY_PORT | Port number for multicast or broadcast | 45100 |
| DISCOVERY_ADDRESS | IP address for multicast Specify this if you run multiple control-buses on the same network area. |
|
| AGENT_RESOURCE_PATH | Resource path | (OPTION) |
Notificator
Get the latest Notificator
Run the notificator
% bin/notificator [setting edn file path] [directory path where hbs files exist]Environment settings
| Environment variable | Description | Default value |
|---|---|---|
| NOTIFICATOR_PORT | Port number | 2121 |
Please refet tr notificator config about edn/hbs files.
Deploy batch components
Please refer to Deploy batch components.
Set logger
Set environment variables, CONTROL_BUS_RESOURCE_PATH and AGENT_RESOURCE_PATH and place logback.xml in there if you want to set logger.