Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgimenez/kafka-cookbook
Installs Kafka broker
https://github.com/fgimenez/kafka-cookbook
Last synced: about 1 month ago
JSON representation
Installs Kafka broker
- Host: GitHub
- URL: https://github.com/fgimenez/kafka-cookbook
- Owner: fgimenez
- Created: 2014-01-16T07:53:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-02T17:35:25.000Z (over 6 years ago)
- Last Synced: 2023-04-05T14:36:36.561Z (over 1 year ago)
- Language: Ruby
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/fgimenez/kafka-cookbook.png)](https://travis-ci.org/fgimenez/kafka-cookbook)
Kafka Broker Cookbook
=================
This cookbook installs Apache Kafka broker. It allows installing different versions of Kafka and has been tested with 0.8.0 and 0.7.0.Requirements
------------It was developed on Ubuntu 12.04 but should work on any platform where Java 1.6 works.
The java cookbook is needed, as usual may be handled with Berkshelf.
Attributes
----------
* node['kafka_broker']['version']: Kafka version to be installed, the cookbook has been tested with 0.8.0
* node['kafka_broker']['scala_version']: Scala version for the binary download, the cookbook has been tested with 2.8.0
* node['kafka_broker']['tarball_url']: Where to obtain Kafka's source
* node['kafka_broker']['install_dir']: Where to install Kafka
* node['kafka_broker']['build_command']: Command to build from sourceRunning the tests
-----------------This is done thanks to berkshelf and strainer:
$ bundle
$ bundle exec berks install
$ bundle exec strainer testFor Testkitchen related tests:
$ bundle
$ bundle exec kitchen verify
Vagrant usage
-------------For testing the cookbook with Vagrant 1.2+ you just have to execute bootstrap.sh:
$ bootstrap.sh
It installs the required Vagrant plugins and launchs the machine. After the process you have a Kafka broker instance running in ```kafka.local``` host, ip 33.33.33.33 (you may need to provide root privileges to allow vagrant-hostmanager link the previous hostname and ip address).
Contributing
------------1. Fork the repository on Github
2. Create a named feature branch (like `add_component_x`)
3. Write you change
4. Write tests for your change
5. Run the tests, ensuring they all pass
6. Submit a Pull RequestLicense and Authors
-------------------
MIT LicenseAuthors: Federico Gimenez Nieto