Sha256: a124304de5a34bd8df621223b545b843abdf55ff5f36bdf47c224a8a848e249f
Contents?: true
Size: 465 Bytes
Versions: 15
Compression:
Stored size: 465 Bytes
Contents
$LOAD_PATH.unshift(File.expand_path("../../lib", __FILE__)) require "kafka" logger = Logger.new(STDOUT) logger.level = Logger::INFO logger.formatter = ->(_, _, _, msg) { msg } STDOUT.sync = true $kafka = Kafka.new( logger: logger, seed_brokers: ENV.fetch("HEROKU_KAFKA_URL"), ssl_ca_cert: ENV.fetch("HEROKU_KAFKA_TRUSTED_CERT"), ssl_client_cert: ENV.fetch("HEROKU_KAFKA_CLIENT_CERT"), ssl_client_cert_key: ENV.fetch("HEROKU_KAFKA_CLIENT_CERT_KEY"), )
Version data entries
15 entries across 15 versions & 1 rubygems