Merge "Add option to choose Kafka client in Docker"
This commit is contained in:
commit
39abe6cdc8
@ -18,6 +18,7 @@ FROM monasca/base:$BASE_TAG
|
|||||||
ENV \
|
ENV \
|
||||||
KAFKA_URI=kafka:9092 \
|
KAFKA_URI=kafka:9092 \
|
||||||
KAFKA_WAIT_FOR_TOPICS=alarm-state-transitions,metrics \
|
KAFKA_WAIT_FOR_TOPICS=alarm-state-transitions,metrics \
|
||||||
|
KAFKA_LEGACY_CLIENT_ENABLED=false \
|
||||||
MONASCA_CONTAINER_API_PORT=8070 \
|
MONASCA_CONTAINER_API_PORT=8070 \
|
||||||
DATABASE_BACKEND=influxdb \
|
DATABASE_BACKEND=influxdb \
|
||||||
INFLUX_HOST=influxdb \
|
INFLUX_HOST=influxdb \
|
||||||
|
@ -25,6 +25,7 @@ Environment variables
|
|||||||
Variable Default Description
|
Variable Default Description
|
||||||
============================== ======================================================================= ==========================================
|
============================== ======================================================================= ==========================================
|
||||||
KAFKA_URI kafka:9092 URI to Apache Kafka (distributed streaming platform)
|
KAFKA_URI kafka:9092 URI to Apache Kafka (distributed streaming platform)
|
||||||
|
KAFKA_LEGACY_CLIENT_ENABLED false Enable legacy Kafka client
|
||||||
MONASCA_CONTAINER_API_PORT 8070 The port from the metric pipeline endpoint
|
MONASCA_CONTAINER_API_PORT 8070 The port from the metric pipeline endpoint
|
||||||
DATABASE_BACKEND influxdb Select for backend database
|
DATABASE_BACKEND influxdb Select for backend database
|
||||||
INFLUX_HOST influxdb The host for influxdb
|
INFLUX_HOST influxdb The host for influxdb
|
||||||
|
@ -498,6 +498,13 @@ wait_time = 1
|
|||||||
# effect on stability and/or performance.
|
# effect on stability and/or performance.
|
||||||
#auto_commit = false
|
#auto_commit = false
|
||||||
|
|
||||||
|
#
|
||||||
|
# Enable legacy Kafka client. When set old version of
|
||||||
|
# kafka-python library is used. Message format version
|
||||||
|
# for the brokers should be set to 0.9.0.0 to avoid
|
||||||
|
# performance issues until all consumers are upgraded.
|
||||||
|
legacy_kafka_client_enabled = {{ KAFKA_LEGACY_CLIENT_ENABLED | default(false) }}
|
||||||
|
|
||||||
|
|
||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user