Class: Consumer::Controls::Consumer::Example

Inherits:
Object
  • Object
show all
Includes:
Consumer
Defined in:
lib/consumer/controls/consumer.rb

Instance Method Summary collapse

Methods included from Consumer

#add_handler, #call, #error_raised, #identifier, included, #position_update_interval, #start, #update_position

Instance Method Details

#configure(batch_size: nil, session: nil, position_store: nil) ⇒ Object



13
14
15
16
# File 'lib/consumer/controls/consumer.rb', line 13

def configure(batch_size: nil, session: nil, position_store: nil, **)
  Get::Example.configure(self)
  PositionStore::Example.configure(self, position_store: position_store)
end