collectagent.conf 843 Bytes
Newer Older
1
2
global {
	mqttListenAddress    127.0.0.1:1883
Alessio Netti's avatar
Alessio Netti committed
3
	cleaningInterval	 86400
4
5
	mqttprefix 			 /00112233445566778899AABB
	threads				 24
6
7
8
9
10
	messageThreads       128
	messageSlots         16
	cacheInterval        120
	daemonize            false
	statistics           true
Alessio Netti's avatar
Logging    
Alessio Netti committed
11
12
	verbosity 			 3
	tempDir				 .
13
14
15
16
}

restAPI {
	address	127.0.0.1:8080
17
18
19
20
21
22
23
24
25
26
27
28
29
30
	certificate ../../deps/openssl-1.0.2l/certs/demo/ca-cert.pem
    privateKey  ../../deps/openssl-1.0.2l/certs/demo/ca-cert.pem
    dhFile      ../../deps/openssl-1.0.2l/crypto/dh/dh2048.pem

    user admin {
        password  admin
        PUT
        GET
    }

    user asdf {
        password qwertz
        GET
    }
31
32
33
34
35
36
37
}

cassandra {
	address	127.0.0.1:9042
	username
	password
	ttl 0
Alessio Netti's avatar
Alessio Netti committed
38
39
40
41
42
43
	numThreadsIo 1
    queueSizeIo 4096
    coreConnPerHost 1
    maxConnPerHost 2
    maxConcRequests 100
    debugLog false
44
45
}