-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsq.properties
75 lines (52 loc) · 2.34 KB
/
sq.properties
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#ServiceQ Configuration File
#------------------#
# Cluster Settings #
#------------------#
#Port on which serviceq listens on
LISTENER_PORT=5252
#Protocol the endpoints listens on -- 'http' for both http/https
PROTO=http
#Endpoints seperated by comma (,) -- no spaces allowed, can be a combination of http/https
ENDPOINTS=http://my.server1.com:8080,http://my.server2.com:8080,http://my.server3.com:8080
#Concurrency peak defines how many max concurrent connections are allowed to the cluster of endpoints defined above
CONCURRENCY_PEAK=2048
#Timeout (s) is added to each outgoing request to endpoints, the existing timeouts are overriden, value of -1 means no timeout
OUTGOING_REQUEST_TIMEOUT=5
#Interval (s) between two retries -- recommended 0 for best performance
RETRY_GAP=0
#----------------#
# Queue Settings #
#-------- -------#
#Enable upfront queue for selected requests before execution
ENABLE_UPFRONT_Q=false
#Enable deferred queue for selected requests on final failures (cluster down)
ENABLE_DEFERRED_Q=true
#Request format enables queueing on only the below methods and routes combination -- picked up if ENABLE_UPFRONT_Q OR ENABLE_DEFERRED_Q is true
#Q_REQUEST_FORMATS=POST /orders,PUT,PATCH,DELETE
#Q_REQUEST_FORMATS=ALL
Q_REQUEST_FORMATS=POST,PUT,PATCH,DELETE
#-------------------#
# Response Settings #
#-------------------#
#Custom response headers to be forwarded to client -- no spaces allowed
#CUSTOM_RESPONSE_HEADERS=Connection: keep-alive|Server
#CUSTOM_RESPONSE_HEADERS=Server
#Keep Alive Timeout (s), value of -1 means no timeout
KEEP_ALIVE_TIMEOUT=120
#--------------#
# SSL Settings #
#--------------#
#Use Secure connection
SSL_ENABLE=false
#If SSL_ENABLE=true, either set SSL_AUTO_ENABlE=true to have automatic tls/ssl support or manually provide path to certificate and private key files
#If both are configured, then SSL_AUTO_ENABLE takes preference
#TLS/SSL auto management
SSL_AUTO_ENABLE=false
#Settings used for automatic tls/ssl certificate issuance/renewal -- picked up if SSL_ENABLE is true, and SSL_AUTO_ENABLE is true
SSL_AUTO_CERTIFICATE_DIR=/etc/ssl/certs
SSL_AUTO_DOMAIN_NAMES=myservice.com
SSL_AUTO_RENEW_BEFORE=30
#Path to certificate and private keys -- picked up if SSL_ENABLE is true, and SSL_AUTO_ENABLE is false
SSL_CERTIFICATE_FILE=/usr/certs/cert.pem
SSL_PRIVATE_KEY_FILE=/usr/certs/key.pem