Sha256: 2f49e1398c2a5c636f3f95f46b3dbf013043335b4b3cfba1e8b62f680963a8ef
Contents?: true
Size: 652 Bytes
Versions: 33
Compression:
Stored size: 652 Bytes
Contents
# frozen_string_literal: true module Karafka module Processing module Jobs # Type of job that we may use to run some extra handling that happens without the user # related lifecycle event like consumption, revocation, etc. class Idle < Base # @param executor [Karafka::Processing::Executor] executor that is suppose to run a given # job on an active consumer # @return [Shutdown] def initialize(executor) @executor = executor super() end # Run the idle work via the executor def call executor.idle end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems