| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # see kafka.server.KafkaConfig for additional details and defaults |
| |
| |
| advertised.host.name={{ node.account.hostname }} |
| |
| |
| listeners={{ listeners }} |
| advertised.listeners={{ advertised_listeners }} |
| |
| num.network.threads=3 |
| num.io.threads=8 |
| socket.send.buffer.bytes=102400 |
| socket.receive.buffer.bytes=65536 |
| socket.request.max.bytes=104857600 |
| |
| num.partitions=1 |
| num.recovery.threads.per.data.dir=1 |
| log.retention.hours=168 |
| log.segment.bytes=1073741824 |
| log.retention.check.interval.ms=300000 |
| log.cleaner.enable=false |
| |
| {% if quota_config.quota_producer_default is defined and quota_config.quota_producer_default is not none %} |
| quota.producer.default={{ quota_config.quota_producer_default }} |
| {% endif %} |
| |
| {% if quota_config.quota_consumer_default is defined and quota_config.quota_consumer_default is not none %} |
| quota.consumer.default={{ quota_config.quota_consumer_default }} |
| {% endif %} |
| |
| {% if quota_config.quota_producer_bytes_per_second_overrides is defined and quota_config.quota_producer_bytes_per_second_overrides is not none %} |
| quota.producer.bytes.per.second.overrides={{ quota_config.quota_producer_bytes_per_second_overrides }} |
| {% endif %} |
| |
| {% if quota_config.quota_consumer_bytes_per_second_overrides is defined and quota_config.quota_consumer_bytes_per_second_overrides is not none %} |
| quota.consumer.bytes.per.second.overrides={{ quota_config.quota_consumer_bytes_per_second_overrides }} |
| {% endif %} |
| |
| security.inter.broker.protocol={{ interbroker_security_protocol }} |
| |
| ssl.keystore.location=/mnt/security/test.keystore.jks |
| ssl.keystore.password=test-ks-passwd |
| ssl.key.password=test-key-passwd |
| ssl.keystore.type=JKS |
| ssl.truststore.location=/mnt/security/test.truststore.jks |
| ssl.truststore.password=test-ts-passwd |
| ssl.truststore.type=JKS |
| sasl.mechanism={{ sasl_mechanism }} |
| sasl.kerberos.service.name=kafka |
| {% if authorizer_class_name is not none %} |
| ssl.client.auth=required |
| authorizer.class.name={{ authorizer_class_name }} |
| {% endif %} |
| |
| {% if zk_set_acl is defined %} |
| zookeeper.set.acl={{zk_set_acl}} |
| {% endif %} |
| |
| zookeeper.connection.timeout.ms={{ zk_connect_timeout }} |
| |
| {% if replica_lag is defined %} |
| replica.lag.time.max.ms={{replica_lag}} |
| {% endif %} |
| |
| |