-
Notifications
You must be signed in to change notification settings - Fork 477
/
operations-server-zk-test.properties
65 lines (45 loc) · 1.93 KB
/
operations-server-zk-test.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
# Thrift configurations (more information about thrift look at http://thrift.apache.org/)
# The Operations Server take most data updates via a Thrift-based protocol.
# Thrift operations service host
thrift_host=localhost
# Thrift operations service port
thrift_port=10091
# Zookeeper service configuration
# Each Kaa cluster node (Kaa server) reports its state to Apache Zookeeper.
# Every node in the deployment can always obtain location of the active Control Server
# and the list of active Bootstrap and Operations Servers
# Specifies if need to use zookeeper service. This is property have to be always "true".
# It is possible to change it for development or debug process.
zk_enabled=true
# Zookeeper service url list
zk_host_port_list=localhost:2185
# Wait for connection time in milliseconds.
zk_wait_connection_time=5
# The max retry time in milliseconds
zk_max_retry_time=3000
# Time to sleep in milliseconds between searches for work
zk_sleep_time=1000
# Specifies if need to throw runtime exception during registration of zookeeper node.
zk_ignore_errors=true
# Metrics collect enabled
metrics_enabled=true
# Operations server keys configurations.
# Each client have to know public key to make successful connection to operations service.
# Path to Operations server private key
operations_keys_private_key_location=keys/operations/private.key
# Path to Operations server public key
operations_keys_public_key_location=keys/operations/public.key
# Path to logs root directory
logs_root_dir=/kaa_log_uploads
# Date pattern for file log appender
date_pattern='.'yyyy-MM-dd-HH-mm
# Layout pattern for file log appender
layout_pattern=%m%n
# Specify hash partitions count for each server node
user_hash_partitions=10
# Specify the max number of neighbor connections
max_number_neighbor_connections=3
# Interface that will be used by all transports
transport_bind_interface=localhost
# Frequency of load status check
load_stats_update_frequency=10000