You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.4 KiB
66 lines
2.4 KiB
# 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 |
|
|
|
security.inter.broker.protocol={{ security_config.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 |
|
ssl.endpoint.identification.algorithm=HTTPS |
|
sasl.mechanism.inter.broker.protocol={{ security_config.interbroker_sasl_mechanism }} |
|
sasl.enabled.mechanisms={{ ",".join(security_config.enabled_sasl_mechanisms) }} |
|
sasl.kerberos.service.name=kafka |
|
{% if authorizer_class_name is not none %} |
|
ssl.client.auth=required |
|
authorizer.class.name={{ authorizer_class_name }} |
|
{% endif %} |
|
|
|
zookeeper.set.acl={{"true" if zk_set_acl else "false"}} |
|
|
|
zookeeper.connection.timeout.ms={{ zk_connect_timeout }} |
|
zookeeper.session.timeout.ms={{ zk_session_timeout }} |
|
|
|
{% if replica_lag is defined %} |
|
replica.lag.time.max.ms={{replica_lag}} |
|
{% endif %} |
|
|
|
{% if auto_create_topics_enable is defined and auto_create_topics_enable is not none %} |
|
auto.create.topics.enable={{ auto_create_topics_enable }} |
|
{% endif %} |
|
offsets.topic.replication.factor={{ 3 if num_nodes > 3 else num_nodes }} |