Class: Karafka::Web::Cli::Install

Inherits:
Base
  • Object
show all
Defined in:
lib/karafka/web/cli/install.rb

Overview

Installs Web UI

Instance Method Summary collapse

Methods inherited from Base

commands

Instance Method Details

#callObject

Installs Karafka Web. Creates all needed topics, populates the data and adds the needed code to karafka.rb.



19
20
21
22
23
# File 'lib/karafka/web/cli/install.rb', line 19

def call
  Karafka::Web::Installer.new.install(
    replication_factor: compute_replication_factor(options[:replication_factor])
  )
end