Class: Karafka::Testing::SpecConsumerClient

Inherits:
Object
  • Object
show all
Defined in:
lib/karafka/testing/spec_consumer_client.rb

Overview

A spec client that takes over client delegated methods from the consumers For specs we do not mark anything as consumed, nor do we really send heartbeats. Those things are tested in the framework itself

Instance Method Summary collapse

Instance Method Details

#assignment_lost?Boolean

Returns assignments are never lost for specs.

Returns:

  • (Boolean)

    assignments are never lost for specs



20
21
22
# File 'lib/karafka/testing/spec_consumer_client.rb', line 20

def assignment_lost?
  false
end