Skip to content

mmlac/tail2kafka

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 11 commits ahead of harelba:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 

tail2kafka

Overview

tail2kafka is a linux tool for sending log lines into a kafka topic.

It supports local and remote kafka servers, log rotation and batching messages to kafka.

Based off of harelba's tail2kafka and adapted to Kafka 0.8 by mmlac using kafka-python by mumrah

Installation

pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install git+https://github.com/mumrah/kafka-python.git@v0.9.2
python setup.py install

Known Bugs

Still throws an error on KeyboardInterrupt. Feel free to patch it, it should however not impact the operation of the tool.

Contact

Any feedback/suggestions/complaints regarding this tool would be much appreciated. Contributions are most welcome as well, of course.

Harel Ben-Attia, harelba@gmail.com, @harelba on Twitter for the initial tail2kafka

Markus Lachinger, business@mmlac.com, @mLachinger, blog.mmlac.com for adaption to Kafka 0.8

About

Tail a log file and send log lines automatically to a kafka topic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%