kolla-ansible/ansible/roles/kafka/templates/kafka.json.j2
Doug Szumski 6647ed818a Add support for deploying Kafka
Projects which may use Kafka include Monasca and Oslo
messaging. Initially it will be possible to
deploy a single Kafka cluster which may be shared
among clients. Support for running multiple Kafka
clusters may be added in a future change. This
change also configures logging for Kafka server,
state-change and controller logs.

Partially-Implements: blueprint monasca-roles
Change-Id: Iab8d200c2450238f3c0c708d1f4184490f6e6284
2018-04-16 11:34:00 +01:00

24 lines
618 B
Django/Jinja

{
"command": "/opt/kafka/bin/kafka-server-start.sh /etc/kafka/kafka.server.properties",
"config_files": [
{
"source": "{{ container_config_directory }}/kafka.server.properties",
"dest": "/etc/kafka/kafka.server.properties",
"owner": "kafka",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/kafka",
"owner": "kafka:kafka",
"recurse": true
},
{
"path": "/var/log/kolla/kafka",
"owner": "kafka:kafka",
"recurse": true
}
]
}