module Karafka::Setup::Dsl
Dsl
for allowing to work with the configuration from the Karafka::App
@note Despite providing methods, everything is still persisted and fetched from the Karafka::Setup::Config
Public Instance Methods
config()
click to toggle source
@return [Karafka::Config] config instance
# File lib/karafka/setup/dsl.rb, line 16 def config Setup::Config.config end
setup(&block)
click to toggle source
Sets up the whole configuration @param [Block] block configuration block
# File lib/karafka/setup/dsl.rb, line 11 def setup(&block) Setup::Config.setup(&block) end