Sha256: 47812c449248c64f96ea3c2ff1f51ee42dd04a27431da2d806bef4c6debc94e8

Contents?: true

Size: 161 Bytes

Versions: 63

Compression:

Stored size: 161 Bytes

Contents

class <%= class_name %>Consumer < Racecar::Consumer
  subscribes_to "some-topic"

  def process(message)
    puts "Received message: #{message.value}"
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
racecar-2.11.0 lib/generators/templates/consumer.rb.erb
racecar-2.11.0.beta4 lib/generators/templates/consumer.rb.erb
racecar-2.11.0.beta3 lib/generators/templates/consumer.rb.erb
racecar-2.11.0.beta2 lib/generators/templates/consumer.rb.erb
racecar-2.11.0.beta1 lib/generators/templates/consumer.rb.erb
racecar-2.10.0 lib/generators/templates/consumer.rb.erb
racecar-2.10.0.beta2 lib/generators/templates/consumer.rb.erb
racecar-2.10.0.beta1 lib/generators/templates/consumer.rb.erb
racecar-2.9.0 lib/generators/templates/consumer.rb.erb
racecar-2.9.0.beta1 lib/generators/templates/consumer.rb.erb
racecar-2.8.2 lib/generators/templates/consumer.rb.erb
racecar-2.8.2.beta lib/generators/templates/consumer.rb.erb
racecar-2.8.1 lib/generators/templates/consumer.rb.erb
racecar-2.8.0.rc.1 lib/generators/templates/consumer.rb.erb
racecar-2.8.0.beta.2 lib/generators/templates/consumer.rb.erb
racecar-2.8.0.beta.1 lib/generators/templates/consumer.rb.erb
racecar-2.7.0 lib/generators/templates/consumer.rb.erb
racecar-2.7.0.beta1 lib/generators/templates/consumer.rb.erb
racecar-2.6.0 lib/generators/templates/consumer.rb.erb
racecar-2.5.0 lib/generators/templates/consumer.rb.erb