aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStaffan Olsson <staffan@repos.se>2017-10-15 10:47:38 +0200
committerStaffan Olsson <staffan@repos.se>2017-10-15 11:05:37 +0200
commitfba19e09e0b9ba1fd790b1ff0f3b1d672e3bc5ea (patch)
treeca62d192954f90dada42ec2446c841e857f8e989
parent6a4c04754a9f8e567a128282ade77369ee07c524 (diff)
downloadkubernetes-kafka-fba19e09e0b9ba1fd790b1ff0f3b1d672e3bc5ea.tar.gz
kubernetes-kafka-fba19e09e0b9ba1fd790b1ff0f3b1d672e3bc5ea.tar.bz2
kubernetes-kafka-fba19e09e0b9ba1fd790b1ff0f3b1d672e3bc5ea.zip
Default conf from 1.0.0-rc1, except our Server Basics
and logs kafkaAppender not enabled by default
-rw-r--r--10broker-config.yml42
1 files changed, 4 insertions, 38 deletions
diff --git a/10broker-config.yml b/10broker-config.yml
index 7d296bf..d02960d 100644
--- a/10broker-config.yml
+++ b/10broker-config.yml
@@ -25,23 +25,6 @@ data:
}
server.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.
-
- # see kafka.server.KafkaConfig for additional details and defaults
-
############################# Server Basics #############################
# The id of the broker. This must be set to a unique integer for each broker.
@@ -134,8 +117,8 @@ data:
# The minimum age of a log file to be eligible for deletion due to age
log.retention.hours=168
- # A size-based retention policy for logs. Segments are pruned from the log as long as the remaining
- # segments don't drop below log.retention.bytes. Functions independently of log.retention.hours.
+ # A size-based retention policy for logs. Segments are pruned from the log unless the remaining
+ # segments drop below log.retention.bytes. Functions independently of log.retention.hours.
#log.retention.bytes=1073741824
# The maximum size of a log segment file. When this size is reached a new log segment will be created.
@@ -168,23 +151,6 @@ data:
group.initial.rebalance.delay.ms=0
log4j.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.
-
- # Unspecified loggers and loggers with additivity=true output to server.log and stdout
- # Note that INFO only applies to unspecified loggers, the log level of the child logger is used otherwise
log4j.rootLogger=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
@@ -256,6 +222,6 @@ data:
log4j.logger.state.change.logger=TRACE, stateChangeAppender
log4j.additivity.state.change.logger=false
- # Change to DEBUG to enable audit log for the authorizer
- log4j.logger.kafka.authorizer.logger=WARN, authorizerAppender
+ # Access denials are logged at INFO level, change to DEBUG to also log allowed accesses
+ log4j.logger.kafka.authorizer.logger=INFO, authorizerAppender
log4j.additivity.kafka.authorizer.logger=false