kafkr 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kafkr/consumer.rb +1 -3
- data/lib/kafkr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61f0dfd7c65259a4684880f7a1ba6f7749f95de46e4eee8faf4b6d629604f3d2
|
4
|
+
data.tar.gz: e8ca8789b46ea257d93381e54b4ae8ad343e38fbf16bae276527f1abc3128867
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 882d352ee426b9ea072d70cefa25502fcb56a616672ddae678f7f7390a6958f40657bd53cd05f4921717b46ac3129bb95bd996c5a5998c491d1673c5c0cac6a3
|
7
|
+
data.tar.gz: 711faef688da9ec89affd06f51e8b7a57af39e37a9e214425e3a15e1bf755852e754e1188445f831eaa4e785c4cf583ae3863c73599325b64c0f4672efc0e225
|
data/lib/kafkr/consumer.rb
CHANGED
@@ -163,8 +163,7 @@ module Kafkr
|
|
163
163
|
def listen_for(message, send_message)
|
164
164
|
attempt = 0
|
165
165
|
begin
|
166
|
-
socket = TCPSocket.new( Consumer.configuration.host, Consumer.configuration.port)
|
167
|
-
puts "Connected to server. #{Consumer.configuration.host} #{Consumer.configuration.port} " if attempt == 0
|
166
|
+
socket = TCPSocket.new( Consumer.configuration.host, Consumer.configuration.port)
|
168
167
|
attempt = 0
|
169
168
|
|
170
169
|
Timeout.timeout(20) do
|
@@ -207,7 +206,6 @@ module Kafkr
|
|
207
206
|
attempt = 0
|
208
207
|
loop do
|
209
208
|
socket = TCPSocket.new(Consumer.configuration.host, Consumer.configuration.port)
|
210
|
-
puts "Connected to server. #{Consumer.configuration.host} #{Consumer.configuration.port} " if attempt == 0
|
211
209
|
attempt = 0
|
212
210
|
|
213
211
|
loop do
|
data/lib/kafkr/version.rb
CHANGED