Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
rails-kafka-consumers/rails/config/kafka_consumers.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16 lines (15 sloc)
569 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file defines which Kafka consumers run on production. | |
# It also defines how many instances run in each server. | |
# | |
# Each entry represents an enabled consumer and results in a relevant rake task | |
# spawned (provided scale is > 0) in the involved Capistrano hosts (see example | |
# below). | |
# | |
# To disable a consumer, it is sufficient to comment it out or lower its scale | |
# to 0. | |
# | |
# The following would result in 2 instances of the consumer located at | |
# Rails.root/kafka/sample_consumer.rb being spawned on each Capistrano consumer | |
# host. | |
- name: "sample" | |
scale: 2 |