Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Demo Rails application with hooks to fire events to Kafka
Ruby JavaScript CoffeeScript
Branch: master
Failed to load latest commit information.
app
config
db
doc Initial commit
lib
log Initial commit
public Initial commit
script Initial commit
test
vendor Initial commit
.gitignore Ignore rvmrc
Gemfile Initial commit
Gemfile.lock
README.rdoc
Rakefile Initial commit
config.ru

README.rdoc

A sample application to demonstrate a potential Kafka implmentation.

Files:

  • 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.