#puppet-kafka
A puppet module for Apache Kafka setup.
node 'kafka-0' {
include java
class { 'kafka':
broker_id => '0',
hostname => $::ipaddress_eth1, # $::ipaddress is picked by default
zookeeper_connect => 'localhost:2181',
package_url => 'http://mirror.symnds.com/software/Apache/kafka/0.8.1.1/kafka_2.10-0.8.1.1.tgz'
}
}
broker_id- cluster-unique Kafka broker idhostname- the hostname to bind. expected to be available for other brokers and clientszookeeper_connect- zookeeper connection stringpackage_url- might use http, ftp, puppet or file schemestatsd_host- the statsd hostnamestatsd_port- the statsd portstatsd_exclude_regex- the statsd exclude.regex eg. (?!(AllTopicsBytesInPerSec|AllTopicsBytesOutPerSec|AllTopicsMessagesInPerSec|AllTopicsFailedProduceRequestsPerSec)).+