codeclimate-kafka 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cc/kafka/producer.rb +1 -0
- data/lib/cc/kafka/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36de26ce146e7bf9d5f635f10da822a4ffdd314d
|
4
|
+
data.tar.gz: b99eec657c2d1a4b17edc875928338cf10cf53ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5e4001bce63347d16c9c233aeab9a5561b5590cbf868e074e54fa25a12deae66ae9bdae46951865923b0daa6652f81aeed21b4ac42c7465fe51826cd6bcfde2
|
7
|
+
data.tar.gz: bb60ea4c9c81378d8debcd3782ef7e8efbee3bb590cf3ded5d803c828d14b5cfbfc8294cc33da7c0644db59fbc179a3a6292619668d3dfeba8cf05f87ccce13d
|
data/lib/cc/kafka/producer.rb
CHANGED
@@ -36,6 +36,7 @@ module CC
|
|
36
36
|
def choose_producer
|
37
37
|
case (scheme = uri.scheme)
|
38
38
|
when "http" then HTTP.new(host, port, topic)
|
39
|
+
when "https" then HTTP.new(host, port, topic, true)
|
39
40
|
when "kafka" then Poseidon.new(host, port, topic, @client_id)
|
40
41
|
else raise InvalidScheme, "invalid scheme #{scheme.inspect}"
|
41
42
|
end
|
data/lib/cc/kafka/version.rb
CHANGED