Sha256: 391596e5569bbb0c4cd63bbf5402ab2304155cd4b7eff8b07b9dd6edb24cf475
Contents?: true
Size: 826 Bytes
Versions: 2
Compression:
Stored size: 826 Bytes
Contents
module Karafka # Karafka framework Cli class Cli # Info Karafka Cli action class Info < Base desc 'Print configuration details and other options of your application' # Print configuration details and other options of your application def call config = Karafka::App.config info = [ "Karafka framework version: #{Karafka::VERSION}", "Application name: #{config.name}", "Inline mode: #{config.inline_mode}", "Batch mode: #{config.batch_mode}", "Number of threads: #{config.concurrency}", "Boot file: #{Karafka.boot_file}", "Environment: #{Karafka.env}", "Kafka hosts: #{config.kafka.hosts}", "Redis: #{config.redis.to_h}" ] puts(info.join("\n")) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
karafka-0.5.0.3 | lib/karafka/cli/info.rb |
karafka-0.5.0.2 | lib/karafka/cli/info.rb |