Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Demo Rails application with hooks to fire events to Kafka
Ruby JavaScript
branch: master
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
vendor Initial commit
.gitignore Ignore rvmrc
Gemfile Initial commit
Gemfile.lock
README.rdoc Initial commit
Rakefile Initial commit
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.