| service_name | String | The name of this service | nq_18515 |
| help | Integer (unsigned) | Print this help | |
| threads | Integer (unsigned) | Number of worker threads to spawn (zero means the number of available CPUs) | |
| debug | Integer (unsigned) | Start in REPL mode | |
| shell | Integer (unsigned) | Start in REPL-only shell mode (no server) | |
| inspect | Integer (unsigned) | Start with the Node.js debugger active | |
| print_config | Integer (unsigned) | Print the configuration | |
| run | String | Execute the specified script file (blank to disable) | |
| list | Integer (unsigned) | List available script files | |
| sockets_dir | String | Base directory for IPC sockets | ${sockets_dir} |
| instancekey | String | The key of the MarketGrid instance to connect to (leave blank to use the default) | |
| base_port | Integer (unsigned) | The base port for this MarketGrid instance | |
| transaction_socket | String | The address of the raw transaction queue. Example for tserver raw tcp: tcp://0.0.0.0:11200. Engine transaction queue ipc: ipc:///opt/MarketGrid/var/sockets/mg_11000_transaction_queue_12001. Leave blank for a local IPC connection. | |
| blob_socket | String | The address of the blob transaction queue. Example for tserver raw tcp: tcp://0.0.0.0:11600. Engine transaction queue ipc: ipc:///opt/MarketGrid/var/sockets/mg_11000_blob_queue_12009. Leave blank for a local IPC connection. | |
| mdb_connections | String | Comma-separated list of MDB processes to connect to, in the form (process_name:hostname:port). Leave blank to skip connecting to any MDB processes. | |
| timeout | Integer (unsigned) | Timeout (in seconds) after which to abort startup if no upstream connection was achieved. It has the following special values: 0 => Wait forever to connect upstream (no timeout set) -1 => Disable waiting for transaction server (only connect to shared memory) N.B. Not used after startup e.g. when connections are lost. | |
| offline | Integer (unsigned) | Do not attach to shared memory or connect to a transaction server. Most functions will be unavailable. | |
| environment | String | A string identifying this environment (e.g. DEV, UAT, PROD) | DEV |
| healthcheck_port | Integer (unsigned) | Port on which to listen for HTTP healthcheck pings. (0 to disable) | |
| system_private_key | String | Path to a private key used for generating JWTs for system users | ${etc_dir}/marketgrid.key |
| quiet | Integer (unsigned) | Suppress informational logging messages | |
| verbose | Integer (unsigned) | Output debug log messages | |
| colour | Integer (unsigned) | Whether or not to colourise log output (default true) | |
| trace_api | String | Path to which to trace API messages (blank to disable) | |
| trace_ws | String | Path to which to trace WebSocket messages (blank to disable) | |
| trace_ws_filter | String | Filter WebSocket message trace output by message class name (empty for no filter) | |
| trace_rest | String | Path to which to trace REST messages (blank to disable) | |
| trace_mdb | String | Path to which to trace MDB queries (blank to disable) | |
| export_metrics | Integer (unsigned) | Determines if metrics should be exported to the run directory | |
| export_metrics_interval | Integer (unsigned) | How often (in milliseconds) metrics will be exported to the run directory. Has no effect if --export_metrics is false | |
| no_abi_check | Integer (unsigned) | Don't check the build ABI checksum against the running system (dangerous!) | |
| user | String | User ID for viewing MarketGrid data | admin |
| client_id | String | Kafka client ID | kafka_producer |
| brokers | String | Comma-separated list of Kafka brokers to connect to | 127.0.0.1:9092 |
| recovery_query_timeout | Integer (unsigned) | Maximum time (in ms) to spend querying for watermark offsets on the output topic before giving up and recovering from the beginning | |
| recovery_seek_timeout | Integer (unsigned) | Maximum time (in ms) to spend seeking in the output topic for recovery | |
| recovery_lookback | Integer (unsigned) | Maximum number of messages to read back from the output topic in order to determine the recovery position | |
| topic | String | The default topic onto which to produce messages. | |
| topic_v2 | String | The topic onto which to produce v2 messages. | queue |
| recoverytopic | String | Topic on which to publish recovery messages | |
| internaltopic | String | Topic on which to publish internal messages | |
| console_only | Integer (unsigned) | If set, messages are printed to stdout only and no connection to a Kafka broker is made. | |
| sender_id | String | Id of the sender to go in the Kafka header | MarketGrid |
| ignoreshutdown | Integer (unsigned) | Ignore any shutdown message from the engine | |
| messagetypes | String | Optional comma-delimited string of message types to produce. If omitted, all message types will be produced. | |
| enable_api_v1 | Integer (unsigned) | Enable producing of v1 API messages (enabled by default) | |
| enable_api_v2 | Integer (unsigned) | Enable producing of v2 API messages (enabled by default) | |
| debug_level | String | librdkafka debug level | |
| operating_mode | One of OperatingMode | The mode the corresponding te_engine process is running in. | |