59 lines
1.9 KiB
Properties
59 lines
1.9 KiB
Properties
# 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.
|
|
|
|
############################# Server Basics #############################
|
|
|
|
broker.id={broker_id}
|
|
|
|
############################# Socket Server Settings #############################
|
|
|
|
port={port}
|
|
host.name={host}
|
|
|
|
num.network.threads=2
|
|
num.io.threads=2
|
|
|
|
socket.send.buffer.bytes=1048576
|
|
socket.receive.buffer.bytes=1048576
|
|
socket.request.max.bytes=104857600
|
|
|
|
############################# Log Basics #############################
|
|
|
|
log.dir={tmp_dir}/data
|
|
num.partitions=2
|
|
|
|
############################# Log Flush Policy #############################
|
|
|
|
log.flush.interval.messages=10000
|
|
log.flush.interval.ms=1000
|
|
|
|
############################# Log Retention Policy #############################
|
|
|
|
log.retention.hours=168
|
|
log.segment.bytes=536870912
|
|
log.cleanup.interval.mins=1
|
|
|
|
############################# Zookeeper #############################
|
|
|
|
zookeeper.connect={zk_host}:{zk_port}/{zk_chroot}
|
|
zookeeper.connection.timeout.ms=1000000
|
|
|
|
kafka.metrics.polling.interval.secs=5
|
|
kafka.metrics.reporters=kafka.metrics.KafkaCSVMetricsReporter
|
|
kafka.csv.metrics.dir={tmp_dir}
|
|
kafka.csv.metrics.reporter.enabled=false
|
|
|
|
log.cleanup.policy=delete
|