Skip to content

Commit b34f018

Browse files
committed
Places the values that are most likely to need attention at the top
1 parent 166a616 commit b34f018

File tree

1 file changed

+19
-52
lines changed

1 file changed

+19
-52
lines changed

kafka/10broker-config.yml

Lines changed: 19 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,25 @@ data:
3535
}
3636
3737
server.properties: |-
38-
# Licensed to the Apache Software Foundation (ASF) under one or more
39-
# contributor license agreements. See the NOTICE file distributed with
40-
# this work for additional information regarding copyright ownership.
41-
# The ASF licenses this file to You under the Apache License, Version 2.0
42-
# (the "License"); you may not use this file except in compliance with
43-
# the License. You may obtain a copy of the License at
44-
#
45-
# http://www.apache.org/licenses/LICENSE-2.0
46-
#
47-
# Unless required by applicable law or agreed to in writing, software
48-
# distributed under the License is distributed on an "AS IS" BASIS,
49-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
50-
# See the License for the specific language governing permissions and
51-
# limitations under the License.
52-
53-
# see kafka.server.KafkaConfig for additional details and defaults
38+
############################# Log Basics #############################
39+
40+
# A comma seperated list of directories under which to store log files
41+
log.dirs=/tmp/kafka-logs
42+
43+
# The default number of log partitions per topic. More partitions allow greater
44+
# parallelism for consumption, but this will also result in more files across
45+
# the brokers.
46+
num.partitions=1
47+
48+
default.replication.factor=3
49+
50+
min.insync.replicas=2
51+
52+
auto.create.topics.enable=true
53+
54+
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
55+
# This value is recommended to be increased for installations with data dirs located in RAID array.
56+
num.recovery.threads.per.data.dir=1
5457
5558
############################# Server Basics #############################
5659
@@ -96,27 +99,6 @@ data:
9699
# The maximum size of a request that the socket server will accept (protection against OOM)
97100
socket.request.max.bytes=104857600
98101
99-
100-
############################# Log Basics #############################
101-
102-
# A comma seperated list of directories under which to store log files
103-
log.dirs=/tmp/kafka-logs
104-
105-
# The default number of log partitions per topic. More partitions allow greater
106-
# parallelism for consumption, but this will also result in more files across
107-
# the brokers.
108-
num.partitions=1
109-
110-
default.replication.factor=3
111-
112-
min.insync.replicas=2
113-
114-
auto.create.topics.enable=true
115-
116-
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
117-
# This value is recommended to be increased for installations with data dirs located in RAID array.
118-
num.recovery.threads.per.data.dir=1
119-
120102
############################# Internal Topic Settings #############################
121103
# The replication factor for the group metadata internal topics "__consumer_offsets" and "__transaction_state"
122104
# For anything other than development testing, a value greater than 1 is recommended for to ensure availability such as 3.
@@ -185,21 +167,6 @@ data:
185167
group.initial.rebalance.delay.ms=0
186168
187169
log4j.properties: |-
188-
# Licensed to the Apache Software Foundation (ASF) under one or more
189-
# contributor license agreements. See the NOTICE file distributed with
190-
# this work for additional information regarding copyright ownership.
191-
# The ASF licenses this file to You under the Apache License, Version 2.0
192-
# (the "License"); you may not use this file except in compliance with
193-
# the License. You may obtain a copy of the License at
194-
#
195-
# http://www.apache.org/licenses/LICENSE-2.0
196-
#
197-
# Unless required by applicable law or agreed to in writing, software
198-
# distributed under the License is distributed on an "AS IS" BASIS,
199-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200-
# See the License for the specific language governing permissions and
201-
# limitations under the License.
202-
203170
# Unspecified loggers and loggers with additivity=true output to server.log and stdout
204171
# Note that INFO only applies to unspecified loggers, the log level of the child logger is used otherwise
205172
log4j.rootLogger=INFO, stdout

0 commit comments

Comments
 (0)