Fix batch_size configuration option in Docker

The configuration option name for Kafka batch size (max. number of
messages before commiting them to Kafka broker) has been changed in
Queens release. The option passed to Docker image must reflect that.

Change-Id: Ib720c4d0358a5e67734fbc38d9a7d513e662d65f
Story: 2007225
Task: 38492
This commit is contained in:
Witek Bedyk 2020-01-28 10:09:24 +01:00
parent 3ed12b9d2c
commit a8b8d3efef
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ group_id = {{ KAFKA_ALARM_HISTORY_GROUP_ID }}
topic = alarm-state-transitions
consumer_id = 1
client_id = 1
database_batch_size = {{ KAFKA_ALARM_HISTORY_BATCH_SIZE }}
batch_size = {{ KAFKA_ALARM_HISTORY_BATCH_SIZE }}
max_wait_time_seconds = {{ KAFKA_ALARM_HISTORY_WAIT_TIME }}
# The following 3 values are set to the kakfa-python defaults
fetch_size_bytes = 4096
@ -64,7 +64,7 @@ group_id = {{ KAFKA_METRICS_GROUP_ID }}
topic = metrics
consumer_id = 1
client_id = 1
database_batch_size = {{ KAFKA_METRICS_BATCH_SIZE }}
batch_size = {{ KAFKA_METRICS_BATCH_SIZE }}
max_wait_time_seconds = {{ KAFKA_METRICS_WAIT_TIME }}
# The following 3 values are set to the kakfa-python defaults
fetch_size_bytes = 4096