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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app Initial commit
config
db Initial commit
doc Initial commit
lib
log Initial commit
public
script Initial commit
test
vendor Initial commit
.gitignore Ignore rvmrc
Gemfile Initial commit
Gemfile.lock Initial commit
README.rdoc Initial commit
Rakefile
config.ru Initial commit

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.