Class: Karafka::Pro::Connection::Multiplexing::Listener
- Inherits:
-
Object
- Object
- Karafka::Pro::Connection::Multiplexing::Listener
- Defined in:
- lib/karafka/pro/connection/multiplexing/listener.rb
Overview
Listener used to connect listeners manager to the lifecycle events that are significant to its operations
Instance Method Summary collapse
-
#initialize ⇒ Listener
constructor
A new instance of Listener.
-
#on_statistics_emitted(event) ⇒ Object
Triggers connection manage subscription groups details noticing.
Constructor Details
Instance Method Details
#on_statistics_emitted(event) ⇒ Object
Triggers connection manage subscription groups details noticing
30 31 32 33 34 35 |
# File 'lib/karafka/pro/connection/multiplexing/listener.rb', line 30 def on_statistics_emitted(event) @manager.notice( event[:subscription_group_id], event[:statistics] ) end |