Class: Karafka::Web::Pro::Ui::Controllers::Topics::ReplicationsController
- Inherits:
-
BaseController
- Object
- Ui::Controllers::BaseController
- BaseController
- BaseController
- Karafka::Web::Pro::Ui::Controllers::Topics::ReplicationsController
- Defined in:
- lib/karafka/web/pro/ui/controllers/topics/replications_controller.rb
Overview
Controller responsible for viewing and managing topics replication details
Constant Summary
Constants inherited from Ui::Controllers::BaseController
Ui::Controllers::BaseController::Models
Instance Attribute Summary
Attributes inherited from Ui::Controllers::BaseController
Instance Method Summary collapse
-
#show(topic_name) ⇒ Object
Displays requested topic replication details.
Methods inherited from Ui::Controllers::BaseController
Methods included from Ui::Controllers::Requests::Hookable
included, #run_after_hooks, #run_before_hooks
Constructor Details
This class inherits a constructor from Karafka::Web::Ui::Controllers::BaseController
Instance Method Details
#show(topic_name) ⇒ Object
Displays requested topic replication details
24 25 26 27 28 29 30 |
# File 'lib/karafka/web/pro/ui/controllers/topics/replications_controller.rb', line 24 def show(topic_name) @topic = Models::Topic.find(topic_name) @partitions = refine(@topic[:partitions]) render end |