Class: Karafka::Web::Management::Migrations::ConsumersStates::RemoveProcessing
- Inherits:
-
Base
- Object
- Base
- Karafka::Web::Management::Migrations::ConsumersStates::RemoveProcessing
- Defined in:
- lib/karafka/web/management/migrations/consumers_states/1700234522_remove_processing.rb
Overview
Moves unused “processing” that was used instead of “busy” in older versions
Instance Method Summary collapse
Methods inherited from Base
applicable?, index, migrate, sorted_descendants
Instance Method Details
#migrate(state) ⇒ Object
14 15 16 |
# File 'lib/karafka/web/management/migrations/consumers_states/1700234522_remove_processing.rb', line 14 def migrate(state) state[:stats].delete(:processing) end |