Skip to content
Permalink
Browse files

#14: Removed default kafka configs

  • Loading branch information...
bbaugher committed Apr 14, 2015
1 parent 5674e21 commit b5a382bd8f57af71d1fdaac693a5394d1c6e9ff2
Showing with 2 additions and 13 deletions.
  1. +1 −1 README.md
  2. +1 −12 attributes/default.rb
@@ -180,7 +180,7 @@ Attributes
* `node["kafka"]["shutdown_timeout"]` : The init.d script shutdown timeout in seconds. Adjust as needed based on cluster size (in terms of partitions) and required shutdown time. (default=30)
* `node["kafka"]["env_vars"]` : A hash of environment variable names to their values to be set for the kafka user. This can be used to customize the server memory settings. (default={})
* `node["kafka"]["lib_jars"]` : A list of URLs to install a jar in `#{node["kafka"]["install_dir"]}/libs`. (default=[])
* `node["kafka"]["server.properties"][*]` : A key/value that will be set in server's properties file. Used to customize the broker configuration. (for defaults see attributes file)
* `node["kafka"]["server.properties"][*]` : A key/value that will be set in server's properties file. Used to customize the broker configuration. (default=`{"log.dirs" => "/tmp/kafka-logs"}` See [Kafka doc](http://kafka.apache.org/documentation.html#brokerconfigs) for Kafka defaults)
* `node["kafka"]["log4j.properties"][*]` : A key/value that will be set in the server's log4j.properties file. (for defaults see attributes file)
* `node["kafka"]["offset_monitor"]["url"]` The download url for the offset monitor (default = "https://github.com/quantifind/KafkaOffsetMonitor/releases/download/v0.2.0/KafkaOffsetMonitor-assembly-0.2.0.jar")
* `node["kafka"]["offset_monitor"]["install_dir"]` : The installation directory for the offset monitor (default = `node["kafka]["base_dir"]`/kafka-offset-monitor)
@@ -27,18 +27,7 @@
default["kafka"]["env_vars"]["KAFKA_JVM_PERFORMANCE_OPTS"] = "\"-XX:PermSize=48m -XX:MaxPermSize=48m -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35\""
default["kafka"]["lib_jars"] = []

default["kafka"]["server.properties"]["log.dirs"] = "/var/kafka"
default["kafka"]["server.properties"]["port"] = 6667
default["kafka"]["server.properties"]["num.partitions"] = 4
default["kafka"]["server.properties"]["default.replication.factor"] = 3
default["kafka"]["server.properties"]["log.flush.interval.messages"] = 1
default["kafka"]["server.properties"]["log.retention.minutes"] = 30 * 24 * 60
default["kafka"]["server.properties"]["log.retention.check.interval.ms"] = 3600000
default["kafka"]["server.properties"]["num.replica.fetchers"] = 4
default["kafka"]["server.properties"]["replica.fetch.wait.max.ms"] = 5000
default["kafka"]["server.properties"]["replica.lag.max.messages"] = 10000
default["kafka"]["server.properties"]["auto.leader.rebalance.enable"] = true
default["kafka"]["server.properties"]["num.network.threads"] = 8
default["kafka"]["server.properties"]["log.dirs"] = "/tmp/kafka-logs"

# Log4J config
default["kafka"]["log4j.properties"]["log4j.rootLogger"] = "INFO, stdout "

0 comments on commit b5a382b

Please sign in to comment.
You can’t perform that action at this time.