monasca-events-api/etc/monasca.conf

34 lines
966 B
Plaintext

[DEFAULT]
#logging, make sure that the user under whom the server runs has permission
#to write to the directory.
log_file=monasca.log
log_dir=/var/log/monasca/
log_level=DEBUG
[dispatcher]
driver = kafka
[kafka]
#The endpoint to the kafka server
uri = 192.168.1.191:9092
#The topic on the kafka server
topic = metrics
#consumer group name
group = metric_group
#how many times to try when error occurs
max_retry = 1
#wait time between tries when kafka goes down
wait_time = 1
#use synchronized or asynchronized connection to kafka
async = False
#send messages in bulk or send messages one by one.
compact = False
#How many partitions this connection should listen messages on, this
#parameter is for reading from kafka. If listens on multiple partitions,
#For example, if the client should listen on partitions 1 and 3, then the
#configuration should look like the following:
# partitions = 1
# partitions = 3
#default to listen on partition 0.
partitions = 0