-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathstolos-env.sh
46 lines (35 loc) · 1.22 KB
/
stolos-env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This configuration file defines the environment variables required for
# Stolos to run. This file should be sourced just before running Stolos
# tests or examples: $ env $(cat <this file>)
STOLOS_JOB_ID_DEFAULT_TEMPLATE={date}_{client_id}_{collection_name}
STOLOS_JOB_ID_VALIDATIONS=stolos.examples.job_id_validations
#
# Queue Backend:
#
# Redis queue backend
STOLOS_QUEUE_BACKEND=redis
STOLOS_QB_REDIS_DB=0
STOLOS_QB_REDIS_HOST=localhost
STOLOS_QB_REDIS_PORT=6379
STOLOS_QB_REDIS_SOCKET_TIMEOUT=3
STOLOS_QB_REDIS_LOCK_TIMEOUT=5
STOLOS_QB_REDIS_MAX_NETWORK_DELAY=4
# Zookeeper queue backend
# STOLOS_QUEUE_BACKEND=zookeeper
STOLOS_QB_ZOOKEEPER_HOSTS=localhost:2181
STOLOS_QB_ZOOKEEPER_TIMEOUT=5
# You can define your own custom queue backend
# STOLOS_QUEUE_BACKEND=mymodule.myqueue_backend
#
# Configuration backend. the default is json
#
# JSON configuration backend
# STOLOS_CONFIGURATION_BACKEND=json # enabled by default
STOLOS_TASKS_JSON=./stolos/examples/tasks.json
# Redis configuration backend
# STOLOS_CONFIGURATION_BACKEND=redis
# STOLOS_REDIS_DB=0
# STOLOS_REDIS_PORT=6379
# STOLOS_REDIS_HOST=localhost
# You can define your own custom configuration backend
# STOLOS_CONFIGURATION_BACKEND=mymodule.myconfiguration_backend