Skip to content

Instantly share code, notes, and snippets.

View sam95's full-sized avatar

Sameera S sam95

View GitHub Profile
@sam95
sam95 / install_kafka.md
Last active June 13, 2019 19:45
Installation and Getting started with Apache-Kafka for OSX

Apache Kafka is a highly-scalable publish-subscribe messaging system that can serve as the data backbone in distributed applications. With Kafka’s Producer-Consumer model it becomes easy to implement multiple data consumers that do live monitoring as well persistent data storage for later analysis. You can assume that RabbitMQ is similar to Kafka, You do get an option for message-sending or Broadcasting. The installation process for OSX is as below.

  1. The best way to install the latest version of the Kafka server on OS X and to keep it up to date is via Homebrew.

     brew search kafka
     brew install kafka 
    
  2. The above commands will install a dependency called zookeeper which is required to run kafka. Start the zookeeper service.

zkserver start

@sam95
sam95 / Installansible.md
Last active April 28, 2016 07:34
Installing ansible version 1.7

Ansible is an open source automation tool. Installing ansible is simple for the latest version, to install a specific version follow the below steps

$mkdir ansible-test
$cd ansible-test
$wget https://pypi.python.org/packages/2f/d4/3a76a12463aebc006bce192e5e3de3a48d2a419bccb946849b10b3e27373/ansible-1.7.tar.gz#md5=367d63ff316ee38c7e51b48a8f598327
$tar vxf ansible-1.7.tar.gz
$cd ./ansible-1.7
$make