Module: Karafka::Processing::InlineInsights::Consumer
- Defined in:
- lib/karafka/processing/inline_insights/consumer.rb
Overview
Module that adds extra methods to the consumer that allow us to fetch the insights
Instance Method Summary collapse
-
#insights ⇒ Hash
(also: #statistics)
Empty hash or hash with given partition insights if already present.
-
#insights? ⇒ Boolean
(also: #statistics?)
True if there are insights to work with, otherwise false.