Sha256: 82ab2bc448e6ddc99b8df8e8219836c82a57ea893cbbff1acf4f777588266ac6
Contents?: true
Size: 950 Bytes
Versions: 20
Compression:
Stored size: 950 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 version: #{Karafka::VERSION}", "Ruby version: #{RUBY_VERSION}", "Ruby-kafka version: #{::Kafka::VERSION}", "Application client id: #{config.client_id}", "Backend: #{config.backend}", "Batch fetching: #{config.batch_fetching}", "Batch consuming: #{config.batch_consuming}", "Boot file: #{Karafka.boot_file}", "Environment: #{Karafka.env}", "Kafka seed brokers: #{config.kafka.seed_brokers}" ] Karafka.logger.info(info.join("\n")) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems