Sha256: 999252ae4a037bbafd6704bb82a66d482b0e48e51b3b12a6c1952b93a9e47389
Contents?: true
Size: 235 Bytes
Versions: 17
Compression:
Stored size: 235 Bytes
Contents
# frozen_string_literal: true class BatchConsumer < Racecar::Consumer subscribes_to "messages", start_from_beginning: false def process_batch(batch) batch.messages.each do |message| puts message.value end end end
Version data entries
17 entries across 17 versions & 1 rubygems