lookout/stapfen — pull request #17 by jamescway (2014-10-28 16:39:19+00:00)
Title: Add kafka client

* Adds kafka client
* Uses the Hermann gem

```ruby
require 'stapfen'

class MyWorker < Stapfen::Worker
use_kafka!

configure do
{
:topic => 'test',
:groupId => 'groupId',
:zookeepers => 'localhost:2181'
}
end

consume 'topic/test' do |message|
puts "Recv: #{message.body}"
end
end

MyWorker.run!
```