Forge Home

kafka

Puppuet module to install Apache Kafka service

11,172 downloads

9,457 latest version

2.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.6 (latest)
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Feb 18th 2015

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'whisklabs-kafka', '0.0.6'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add whisklabs-kafka
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install whisklabs-kafka --version 0.0.6

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: java, queue, kafka

Documentation

whisklabs/kafka — version 0.0.6 Feb 18th 2015

#puppet-kafka

A puppet module for Apache Kafka setup.

Basic Usage

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'
    }
}

Parameters

  • broker_id - cluster-unique Kafka broker id
  • hostname - the hostname to bind. expected to be available for other brokers and clients
  • zookeeper_connect - zookeeper connection string
  • package_url - might use http, ftp, puppet or file scheme
  • statsd_host - the statsd hostname
  • statsd_port - the statsd port
  • statsd_exclude_regex - the statsd exclude.regex eg. (?!(AllTopicsBytesInPerSec|AllTopicsBytesOutPerSec|AllTopicsMessagesInPerSec|AllTopicsFailedProduceRequestsPerSec)).+

Source Code

Whisklabs Github repo