Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Demo Rails application with hooks to fire events to Kafka
Ruby JavaScript CoffeeScript
Latest commit 39357c1 @jpignata Remove unused file
Failed to load latest commit information.
app Initial commit
config Change topic name
db Initial commit
doc Initial commit
lib Remove unused file
log Initial commit
public Initial commit
script Initial commit
test Initial commit
vendor Initial commit
.gitignore Ignore rvmrc
Gemfile Initial commit
Gemfile.lock Initial commit
README.rdoc Initial commit
Rakefile Initial commit Initial commit


A sample application to demonstrate a potential Kafka implmentation.


  • lib/kafka_log.rb: ferries messages to Kafka

  • app/models/event_handler.rb: API for controllers and models to fire log events

  • app/controllers/application_controller.rb: flushes the Kafka log after each request

  • app/controllers/posts_controller.rb: scaffold generated sample posts controller with some Kafka events

  • config/initializers/kafka_log.rb: starts the Kafka delivery thread

Something went wrong with that request. Please try again.