Sha256: 93ac4fcfe2b8edd07e9101e4019550cc90b2ac519edaa9280caea959b623cbd5
Contents?: true
Size: 775 Bytes
Versions: 1
Compression:
Stored size: 775 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}", "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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
karafka-0.5.0.1 | lib/karafka/cli/info.rb |