messaging 3.7.1 → 3.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/messaging/adapters/kafka.rb +2 -2
- data/lib/messaging/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: 6b8fa8dc1718dad30b304f383f7083c633501cf97a9fe8b25ca813f2e0a93381
|
4
|
+
data.tar.gz: a3ba85a1d64ae1b6a4f43a272465431f36a7a883880a38167860179acf6dd6d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc805a0b0407bb15de8ac75778156dbd1f5bcc0672aaf25c8be8766bd14894af524d6a4f579861443821b3f9a9b15e667a4fde8e5799e8a8592c98893b460034
|
7
|
+
data.tar.gz: 8862bddce2dcd81154173551625168db71f2aa4bd2c609a43454b579e2332ab7c2f26e3a767b5deb018f947d61a9bda92ac9a73b332401341098dce3acda1bbf
|
data/Gemfile.lock
CHANGED
@@ -27,7 +27,7 @@ module Messaging
|
|
27
27
|
|
28
28
|
# Internal: Setup a Ruby-Kafka consumer
|
29
29
|
def create_kafka_consumer(group_id)
|
30
|
-
client.consumer({ group_id: group_id }.merge(Config.kafka.consumer.
|
30
|
+
client.consumer({ group_id: group_id }.merge(Config.kafka.consumer.to_h))
|
31
31
|
end
|
32
32
|
|
33
33
|
private
|
@@ -37,7 +37,7 @@ module Messaging
|
|
37
37
|
# We have a specific logger for Ruby-Kafka as it
|
38
38
|
# is a bit more noisy than we would like.
|
39
39
|
kafka_logger = Messaging.logger.dup.tap { |logger| logger.level = Config.kafka.log_level }
|
40
|
-
::Kafka.new(Config.kafka.client.
|
40
|
+
::Kafka.new(Config.kafka.client.to_h.merge(client_id: Config.app_name, logger: kafka_logger))
|
41
41
|
end
|
42
42
|
|
43
43
|
def self.register!
|
data/lib/messaging/version.rb
CHANGED