Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

confluent-cookbook (5) Versions 0.4.0

Installs/Configures confluent.io platform from rpm/deb packages

Policyfile
Berkshelf
Knife
cookbook 'confluent-cookbook', '~> 0.4.0', :supermarket
cookbook 'confluent-cookbook', '~> 0.4.0'
knife supermarket install confluent-cookbook
knife supermarket download confluent-cookbook
README
Dependencies
Changelog
Quality 17%

confluent.io Cookbook

This cookbook is using the confluent rpm and deb repositories to install the confluent-platform v2 packages. It will create a user confluent and init scripts for kafka zookeeper, schema-registry and kafka-rest.

Recipe

It comes with multiple recipes: confluent-cookbook::default, confluent-cookbook::zookeeper,confluent-cookbook::kafka confluent-cookbook::kafka-schema-registry and confluent-cookbook::kafka-rest.

Configuration

Instead of maintaining configuration templates, chef configuration properties will be added as server.properties, zookeeper.properties , schema-registry.properties and kafka-rest.properties files.

Example Kafka:
ruby
default["confluent"]["kafka"]["server.properties"]["broker.id"] = "0"
default["confluent"]["kafka"]["server.properties"]["port"] = "9092"
...

will look like this in the /etc/kafka/server.properties

broker.id=0
port=9092
...

Example ZooKeeper:
ruby
default["confluent"]["kafka"]["zookeeper.properties"]["dataDir"] = "/tmp/zookeeper"
default["confluent"]["kafka"]["zookeeper.properties"]["clientPort"] = "2181"
...

will look like this in the /etc/kafka/zookeeper.properties

dataDir=/tmp/zookeeper
clientPort=2181
...

Other confluent-platform configurations

Right now Kafka, ZooKeeper, the Schema-Registry and Kafka-REST can be configured.

Vagrant

In order to be able to run vagrant you need to run berks init and you have to install vagrant-berkshelf via vagrant plugin install vagrant-berkshelf. Afterwards run vagrant up.

Supported OS Distributions

Right now it has been tested with:
- CentOS 7.x
- Ubuntu 14.04 (where it seems to hang sometimes during installation)

JRE

You need to install your desired JRE yourself, see Vagrantfile as an example.

Build

At some point this project might have a travis build job.

Dependent cookbooks

java >= 0.0.0
apt >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of confluent-cookbook

0.1.1

fixed some renaming

0.2.0

Added Schema-Registry service and configuration.

0.3.0

Added Kafka REST service and configuration.

Collaborator Number Metric
            

0.4.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.4.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.4.0 failed this metric

FC064: Ensure issues_url is set in metadata: confluent-cookbook/metadata.rb:1
FC065: Ensure source_url is set in metadata: confluent-cookbook/metadata.rb:1
FC066: Ensure chef_version is set in metadata: confluent-cookbook/metadata.rb:1
FC069: Ensure standardized license defined in metadata: confluent-cookbook/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.4.0 passed this metric

Testing File Metric
            

0.4.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.4.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number