Class: Karafka::Pro::Processing::Jobs::EofedNonBlocking
- Inherits:
-
Karafka::Processing::Jobs::Eofed
- Object
- Karafka::Processing::Jobs::Base
- Karafka::Processing::Jobs::Eofed
- Karafka::Pro::Processing::Jobs::EofedNonBlocking
- Defined in:
- lib/karafka/pro/processing/jobs/eofed_non_blocking.rb
Overview
Non-Blocking version of the Eofed job We use this version for LRJ topics for cases where saturated resources would not allow to run this job for extended period of time. Under such scenarios, if we would not use a non-blocking one, we would reach max.poll.interval.ms.
Instance Attribute Summary
Attributes inherited from Karafka::Processing::Jobs::Base
Instance Method Summary collapse
-
#initialize(*args) ⇒ EofedNonBlocking
constructor
A new instance of EofedNonBlocking.
Methods inherited from Karafka::Processing::Jobs::Eofed
Methods inherited from Karafka::Processing::Jobs::Base
#after_call, #before_call, #before_schedule, #call, #finish!, #finished?, #non_blocking?
Constructor Details
#initialize(*args) ⇒ EofedNonBlocking
Returns a new instance of EofedNonBlocking.
24 25 26 27 |
# File 'lib/karafka/pro/processing/jobs/eofed_non_blocking.rb', line 24 def initialize(*args) super @non_blocking = true end |