Skip to content
Demo Rails application with hooks to fire events to Kafka
Ruby JavaScript CoffeeScript
Find file
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
log Initial commit
public Initial commit
script Initial commit
test
vendor Initial commit
.gitignore Ignore rvmrc
Gemfile Initial commit
Gemfile.lock Initial commit
README.rdoc
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.