Sha256: 032892bd4096fb0979d46682ce94d642f1c170dfcbbe41db5873f564a71d4396
Contents?: true
Size: 480 Bytes
Versions: 36
Compression:
Stored size: 480 Bytes
Contents
# frozen_string_literal: true module Karafka module Processing module InlineInsights # Listener that adds statistics to our inline tracker class Listener # Adds statistics to the tracker # @param event [Karafka::Core::Monitoring::Event] event with statistics def on_statistics_emitted(event) Tracker.add( event[:consumer_group_id], event[:statistics] ) end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems