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-0.2.1 lib/generators/templates/consumer.rb.erb
racecar-0.2.0 lib/generators/templates/consumer.rb.erb
racecar-0.1.4 lib/generators/templates/consumer.rb.erb