1.2 KiB
1.2 KiB
Install
Install with your favorite package manager
Latest Release
Pip:
pip install kafka-pythonReleases are also listed at https://github.com/mumrah/kafka-python/releases
Bleeding-Edge
git clone https://github.com/mumrah/kafka-python
pip install ./kafka-pythonSetuptools:
git clone https://github.com/mumrah/kafka-python
easy_install ./kafka-pythonUsing setup.py directly:
git clone https://github.com/mumrah/kafka-python
cd kafka-python
python setup.py installOptional Snappy install
Install Development Libraries
Download and build Snappy from http://code.google.com/p/snappy/downloads/list
Ubuntu:
apt-get install libsnappy-devOSX:
brew install snappyFrom Source:
wget http://snappy.googlecode.com/files/snappy-1.0.5.tar.gz
tar xzvf snappy-1.0.5.tar.gz
cd snappy-1.0.5
./configure
make
sudo make installInstall Python Module
Install the python-snappy module
pip install python-snappy