We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e07b054 commit caa5976Copy full SHA for caa5976
examples/firehose-producer.rb
@@ -1,6 +1,9 @@
1
$LOAD_PATH.unshift(File.expand_path("../../lib", __FILE__))
2
3
require "kafka"
4
+require "dotenv"
5
+
6
+Dotenv.load
7
8
KAFKA_CLIENT_CERT = ENV.fetch("KAFKA_CLIENT_CERT")
9
KAFKA_CLIENT_CERT_KEY = ENV.fetch("KAFKA_CLIENT_CERT_KEY")
0 commit comments