Sha256: 3edd4dffd515f4839219b7c9dbc34a5486422917631ffb2d31c161f2d6156b32
Contents?: true
Size: 907 Bytes
Versions: 3
Compression:
Stored size: 907 Bytes
Contents
# frozen_string_literal: true module Karafka # Karafka framework Cli class Cli < Thor # 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 client id: #{config.client_id}", "Backend: #{config.backend}", "Batch consuming: #{config.batch_consuming}", "Batch processing: #{config.batch_processing}", "Number of threads: #{config.concurrency}", "Boot file: #{Karafka.boot_file}", "Environment: #{Karafka.env}", "Kafka seed brokers: #{config.kafka.seed_brokers}" ] puts(info.join("\n")) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
karafka-1.0.1 | lib/karafka/cli/info.rb |
karafka-1.0.0 | lib/karafka/cli/info.rb |
karafka-1.0.0.rc1 | lib/karafka/cli/info.rb |