Added sample config file.
This commit is contained in:
parent
52cc7e63fd
commit
d1692b6a03
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,4 +10,3 @@
|
|||||||
target/
|
target/
|
||||||
test-output/
|
test-output/
|
||||||
logs/
|
logs/
|
||||||
*config*.yml
|
|
||||||
|
86
src/main/config/mon-thresh-sample-config.yml
Normal file
86
src/main/config/mon-thresh-sample-config.yml
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
metricSpoutThreads: 1
|
||||||
|
metricSpoutTasks: 1
|
||||||
|
|
||||||
|
metricSpoutConfig:
|
||||||
|
|
||||||
|
#Kafka settings.
|
||||||
|
kafkaConsumerConfiguration:
|
||||||
|
# See http://kafka.apache.org/documentation.html#api for semantics and defaults.
|
||||||
|
topic: test
|
||||||
|
numThreads: 1
|
||||||
|
groupId: 1
|
||||||
|
zookeeperConnect: localhost:2181
|
||||||
|
consumerId: 1
|
||||||
|
socketTimeoutMs: 30000
|
||||||
|
socketReceiveBufferBytes : 65536
|
||||||
|
fetchMessageMaxBytes: 1048576
|
||||||
|
autoCommitEnable: true
|
||||||
|
autoCommitIntervalMs: 60000
|
||||||
|
queuedMaxMessageChunks: 10
|
||||||
|
rebalanceMaxRetries: 4
|
||||||
|
fetchMinBytes: 1
|
||||||
|
fetchWaitMaxMs: 100
|
||||||
|
rebalanceBackoffMs: 2000
|
||||||
|
refreshLeaderBackoffMs: 200
|
||||||
|
autoOffsetReset: largest
|
||||||
|
consumerTimeoutMs: -1
|
||||||
|
clientId : 1
|
||||||
|
zookeeperSessionTimeoutMs : 6000
|
||||||
|
zookeeperConnectionTimeoutMs : 6000
|
||||||
|
zookeeperSyncTimeMs: 2000
|
||||||
|
|
||||||
|
|
||||||
|
eventSpoutConfig:
|
||||||
|
#Kafka settings.
|
||||||
|
kafkaConsumerConfiguration:
|
||||||
|
# See http://kafka.apache.org/documentation.html#api for semantics and defaults.
|
||||||
|
topic: test
|
||||||
|
numThreads: 1
|
||||||
|
groupId: 1
|
||||||
|
zookeeperConnect: localhost:2181
|
||||||
|
consumerId: 1
|
||||||
|
socketTimeoutMs: 30000
|
||||||
|
socketReceiveBufferBytes : 65536
|
||||||
|
fetchMessageMaxBytes: 1048576
|
||||||
|
autoCommitEnable: true
|
||||||
|
autoCommitIntervalMs: 60000
|
||||||
|
queuedMaxMessageChunks: 10
|
||||||
|
rebalanceMaxRetries: 4
|
||||||
|
fetchMinBytes: 1
|
||||||
|
fetchWaitMaxMs: 100
|
||||||
|
rebalanceBackoffMs: 2000
|
||||||
|
refreshLeaderBackoffMs: 200
|
||||||
|
autoOffsetReset: largest
|
||||||
|
consumerTimeoutMs: -1
|
||||||
|
clientId : 1
|
||||||
|
zookeeperSessionTimeoutMs : 6000
|
||||||
|
zookeeperConnectionTimeoutMs : 6000
|
||||||
|
zookeeperSyncTimeMs: 2000
|
||||||
|
|
||||||
|
|
||||||
|
sporadicMetricNamespaces:
|
||||||
|
- foo
|
||||||
|
|
||||||
|
database:
|
||||||
|
driverClass: com.vertica.jdbc.Driver
|
||||||
|
# url: jdbc:vertica://mon-aw1rdd1-vertica0001.rndd.aw1.hpcloud.net:5433/som
|
||||||
|
url: jdbc:vertica://15.185.94.245:5433/som
|
||||||
|
# user: persister
|
||||||
|
user: mon_persister
|
||||||
|
# user: dbadmin
|
||||||
|
password: password
|
||||||
|
properties:
|
||||||
|
ssl: false
|
||||||
|
# the maximum amount of time to wait on an empty pool before throwing an exception
|
||||||
|
maxWaitForConnection: 1s
|
||||||
|
|
||||||
|
# the SQL query to run when validating a connection's liveness
|
||||||
|
validationQuery: "/* MyService Health Check */ SELECT 1"
|
||||||
|
|
||||||
|
# the minimum number of connections to keep open
|
||||||
|
minSize: 8
|
||||||
|
|
||||||
|
# the maximum number of connections to keep open
|
||||||
|
|
||||||
|
|
||||||
|
maxSize: 41
|
Loading…
x
Reference in New Issue
Block a user